Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020088Openbravo ERP07. Sales managementpublic2012-03-22 10:572012-04-02 06:11
eduardo_Argal 
eduardo_Argal 
urgentmajoralways
closedfixed 
5
 
3.0MP10 
Core
No
0020088: Orders not available to be invoiced
When having an order which line/s are pending to be invoiced, it, in some circumstances, does not show as available to be invoiced
1) create an order with invoice terms immediate
2) Create one line with any product, quantity 1
3) Create one line with any product, quantity -1
4) process order
5) create an invoice header selecting the same BP as previous order
6) Click on create lines from and realize that previous order is not available to be selected
A fix is required for C_INVOICE_CANDIDATE_V and for Create lines from
No tags attached.
Issue History
2012-03-22 10:57eduardo_ArgalNew Issue
2012-03-22 10:57eduardo_ArgalAssigned To => eduardo_Argal
2012-03-22 10:57eduardo_ArgalModules => Core
2012-03-22 10:58eduardo_ArgalStatusnew => scheduled
2012-03-22 10:58eduardo_Argalfix_in_branch => pi
2012-03-22 10:59hgbotCheckin
2012-03-22 10:59hgbotNote Added: 0046645
2012-03-22 10:59hgbotStatusscheduled => resolved
2012-03-22 10:59hgbotResolutionopen => fixed
2012-03-22 10:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7bd545d23fa2e2e47cb5769b0424318e301f0c86 [^]
2012-03-22 12:06eduardo_ArgalNote Added: 0046649
2012-03-28 17:10miruritaNote Added: 0046842
2012-03-28 17:10miruritaStatusresolved => closed
2012-03-28 17:10miruritaFixed in Version => 3.0MP9
2012-03-30 08:27miruritaStatusclosed => new
2012-03-30 08:27miruritaResolutionfixed => open
2012-03-30 08:27miruritaFixed in Version3.0MP9 =>
2012-03-30 08:27miruritaStatusnew => scheduled
2012-03-30 08:27miruritaStatusscheduled => resolved
2012-03-30 08:27miruritaFixed in Version => 3.0MP10
2012-03-30 08:27miruritaResolutionopen => fixed
2012-03-30 08:27miruritaStatusresolved => closed
2012-04-02 06:11hudsonbotCheckin
2012-04-02 06:11hudsonbotNote Added: 0047200

Notes
(0046645)
hgbot   
2012-03-22 10:59   
Repository: erp/devel/pi
Changeset: 7bd545d23fa2e2e47cb5769b0424318e301f0c86
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Mar 22 10:59:09 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7bd545d23fa2e2e47cb5769b0424318e301f0c86 [^]

Fixes bug 20088: Orders not available to be invoiced

---
M src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0046649)
eduardo_Argal   
2012-03-22 12:06   
TEST PLAN:
1) create an order with invoice terms immediate
2) Create one line with any product, quantity 1
3) Create one line with any product, quantity -1
4) process order
5) create an invoice header selecting the same BP as previous order
6) Click on create lines from and realize that previous order is noW available to be selected
(0046842)
mirurita   
2012-03-28 17:10   
Testing Plan:
1) Follow steps to reproduce.
2) Test basic flow
   - Create a SO, invoice terms = immediate
   - Create line with any product of qty 2
   - Create line with any product of qty 1
   - Process the order
   - Create a new invoice for the BP of the SO
   - The SO should be available on Create Lines From.
3) Test alternative flow 1
   - Create a SO, invoice terms = immediate
   - Create line with any product of qty 1
   - Create line with any product of qty -1
   - Process the order
   - Invoice the full SO
   - Create a new invoice for the BP of the SO
   - The SO should NOT be available on Create Lines From.
4) Test alternative flow 2
   - Create a SO, invoice terms = After Delivery
   - Create line with any product of qty 1
   - Create line with any product of qty -1
   - Process the order
   - Create a new invoice for the BP of the SO
   - The SO should NOT be available on Create Lines From.
5) Test alternative flow 3
   - Create a SO, invoice terms = Immediate
   - Create line with any product of qty 1
   - Create line with any product of qty -1
   - Process the order
   - Invoice line with qty 1
   - Create a new invoice for the BP of the SO
   - The SO should be available on Create Lines From.
(0047200)
hudsonbot   
2012-04-02 06:11   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test