Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008481Openbravo ERP08. Project and service managementpublic2009-04-07 11:522009-04-26 00:00
arunkumar 
rajagopal 
normalminoralways
closedfixed 
5
main 
2.50MP1 
Core
No
0008481: Sales order can be created for Inactive expense sheet
Create an expense sheet with Inactive status.Create sales order for that expense. We are able to create sales order for that.
# Login as Openbravo/openbravo and Change the role to Openbravo Admin
# Go to Project & Service Management->Transactions->Expense Sheet
# Click New and fill:

    * Description: Expenses Consultancy
    * Employee: John Moneymaker
Uncheck the checkmark of Active checkbox.

# Go to Lines tab.
# Click New and fill:

    * Reinvoincing: Y
    * Product: Service A
    * Quantity: 1
      Project: sca - Service Project for Customer A

Check that:

    * UOM: Day
    * Business Partner: McGiver Supplies

# Go back to Header tab.
# Click on Process Expenses button.

Go to Project & Service Management->Transactions->Create Sales Orders from Expenses.

# Edit:

    * Customer: McGiver Supplies
    * Date Ordered: 07-04-2009
    * Tick Complete and Process Sales Orders automatically check box (checked).

# Click on Process button.

Sales order has been created for the expense sheet even though the status is inactive.
Since the expense sheet is inactive, sales order should not be created for that.
250 final review, main
Issue History
2009-04-07 11:52arunkumarNew Issue
2009-04-07 11:52arunkumarAssigned To => rafaroda
2009-04-07 11:52arunkumarRegression testing => No
2009-04-08 10:04psarobeTag Attached: 250 final review
2009-04-08 10:04psarobeStatusnew => scheduled
2009-04-08 10:04psarobefix_in_branch => pi
2009-04-08 10:08rafarodaAssigned Torafaroda => sathiyan
2009-04-08 10:41sathiyanAssigned Tosathiyan => rajagopal
2009-04-21 08:40hgbotCheckin
2009-04-21 08:40hgbotNote Added: 0015465
2009-04-21 08:40hgbotStatusscheduled => resolved
2009-04-21 08:40hgbotResolutionopen => fixed
2009-04-21 08:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4805d9a55dec2734e7d97c51e061635e76eda2fc [^]
2009-04-22 11:23psarobeTag Attached: main
2009-04-25 12:11psarobeStatusresolved => closed
2009-04-26 00:00anonymoussf_bug_id0 => 2781340

Notes
(0015465)
hgbot   
2009-04-21 08:40   
Repository: erp/devel/pi
Changeset: 4805d9a55dec2734e7d97c51e061635e76eda2fc
Author: Rajagopal Baskaran <rajagopal.baskaran <at> openbravo.com>
Date: Tue Apr 21 12:06:37 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/4805d9a55dec2734e7d97c51e061635e76eda2fc [^]

Fixes bug 8481 creation of Sales Order for inactive expense sheet has been fixed.

---
M src/org/openbravo/erpCommon/ad_actionButton/ExpenseSOrder_data.xsql
---