Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013944Openbravo ERP07. Sales managementpublic2010-07-12 18:032010-08-03 00:00
networkb 
harikrishnan 
highminoralways
closedfixed 
5
2.50MP19 
2.50MP21 
Core
No
0013944: Completed Sales Orders still appear on 'Create Lines From' and 'Generate Invoices from Orders'
Completed Sales Orders still appear on 'Create Lines From' and 'Generate Invoices from Orders'
- As Openbravo Admin go to Sales Management || Transactions || Sales Order
- Create a new record:
    - Transation Document: Standard Order
    - Invoice terms: Immediate
- Create a lines and complete

- Go to ales Management || Transactions || Create Invoices from Orders
- Select the order created and process
- Realize that an Invoice has been created and has been completed but the order still appears on Create Invoices from Orders.

- Go to Sales Management || Transactions || Sales Order
- Create a new record:
    - Transation Document: Standard Order
    - Invoice terms: Immediate
- Create a lines and complete

- Go to Sales Management || Transactions || Sales Invoice
- Select the order created on 'Create Lines From'
- Complete

- Create a new record, and go to 'Create Lines From'
- Realize that the order still appears on the combo
No tags attached.
Issue History
2010-07-12 18:03networkbNew Issue
2010-07-12 18:03networkbAssigned To => adrianromero
2010-07-12 18:23adrianromeroStatusnew => scheduled
2010-07-12 18:23adrianromerofix_in_branch => pi
2010-07-30 06:44harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-30 06:45hgbotCheckin
2010-07-30 06:45hgbotNote Added: 0029692
2010-07-30 06:45hgbotStatusscheduled => resolved
2010-07-30 06:45hgbotResolutionopen => fixed
2010-07-30 06:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3cc59dc273bef9e61107ef9c481587f698f92587 [^]
2010-07-30 06:46harikrishnanNote Added: 0029693
2010-07-30 19:32hudsonbotCheckin
2010-07-30 19:32hudsonbotNote Added: 0029723
2010-07-30 19:36hudsonbotCheckin
2010-07-30 19:36hudsonbotNote Added: 0029729
2010-08-02 11:21sureshbabuNote Added: 0029744
2010-08-02 11:21sureshbabuStatusresolved => closed
2010-08-03 00:00anonymoussf_bug_id0 => 3038514

Notes
(0029692)
hgbot   
2010-07-30 06:45   
Repository: erp/devel/pi
Changeset: 3cc59dc273bef9e61107ef9c481587f698f92587
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Fri Jul 30 10:15:06 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/3cc59dc273bef9e61107ef9c481587f698f92587 [^]

Fixes Issue 13944: Completed Sales Orders still appear on 'Create Lines From' and 'Generate Invoices from Orders'

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual_data.xsql
---
(0029693)
harikrishnan   
2010-07-30 06:46   
Steps to Test:

*Create a sales order with following details in the header
    Transaction Document : Standard Order
    Invoice Terms :Immediate
chose any business partner and product.
*Go to Create Invoice from Order ,choose the above created sales order and process it.
The processed order wont appear in the list.
*Then in the Create Lines from of Sales Invoice repeat the first step of creating the sales order and check it here also.

Root Cause:

* Create Lines From:
    *Before in this their is no condition is checked for the Immediate invoice term that the order is processed or not.
*Create Invoice from Orders:
    *Before in this screen their is no condition is checked for the invoice terms.

Impact:
    Their is no impact because of this issue.
(0029723)
hudsonbot   
2010-07-30 19:32   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/3cc59dc273be [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/a2a477578cf4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17999.obx [^]
(0029729)
hudsonbot   
2010-07-30 19:36   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/3cc59dc273be [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/a2a477578cf4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17999.obx [^]
(0029744)
sureshbabu   
2010-08-02 11:21   
verified