Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029115Openbravo ERP07. Sales managementpublic2015-03-03 18:052015-05-07 22:16
egoitz 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
pi 
umartirena
Core
No
0029115: An order partially delivered appears to be invoiced after invoice the delivered part
On the generate invoices form order window a you can see orders that have been partially delivered also when the part delivered has been invoiced.omp
-Create a sales order with invoice term "after delivery" and with a line with qty=2
-Complete
-Create a shipment for the same partner
-Using the create from order window select the line created on the product
-Change the qty from 2 to 1.
-Complete
-Go to create invoices form order and invoice the previously created order.
-the invoice is created but the order still appear to be invoice
-If you click again to invoice it you receive a sucess message with Created=0 text and the invoice still appears.
No tags attached.
Issue History
2015-03-03 18:05egoitzNew Issue
2015-03-03 18:05egoitzAssigned To => Sandrahuguet
2015-03-03 18:05egoitzModules => Core
2015-03-03 18:05egoitzResolution time => 1428184800
2015-03-03 18:05egoitzTriggers an Emergency Pack => No
2015-03-05 02:09reinaldoguerraAssigned ToSandrahuguet => reinaldoguerra
2015-03-05 02:09reinaldoguerraStatusnew => scheduled
2015-03-05 20:36reinaldoguerraNote Added: 0075217
2015-03-05 20:36reinaldoguerraStatusscheduled => feedback
2015-03-09 12:12jonalegriaesarteAssigned Toreinaldoguerra => egoitz
2015-03-09 12:25egoitzNote Added: 0075312
2015-03-09 12:25egoitzStatusfeedback => new
2015-03-09 12:25egoitzAssigned Toegoitz => reinaldoguerra
2015-03-10 17:02reinaldoguerraStatusnew => scheduled
2015-03-20 09:35heccamIssue Monitored: heccam
2015-04-01 17:08jorge-garciaAssigned Toreinaldoguerra => jorge-garcia
2015-04-01 17:28egoitzNote Deleted: 0075312
2015-04-01 17:28egoitzSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8176#r8176
2015-04-07 15:50jorge-garciaNote Added: 0076367
2015-04-10 13:16hgbotCheckin
2015-04-10 13:16hgbotNote Added: 0076443
2015-04-10 13:16hgbotStatusscheduled => resolved
2015-04-10 13:16hgbotResolutionopen => fixed
2015-04-10 13:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dc5fdc07fcc5940802ea42fd9d164079619856d4 [^]
2015-04-10 13:17umartirenaReview Assigned To => umartirena
2015-04-10 13:17umartirenaNote Added: 0076444
2015-04-10 13:17umartirenaStatusresolved => closed
2015-04-10 13:17umartirenaFixed in Version => pi
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077116

Notes
(0075217)
reinaldoguerra   
2015-03-05 20:36   
Unable to reproduce. Invoices only are created once per order, using process "Generate Invoices". Please specify more the steps to reproduce the issue.
(0076367)
jorge-garcia   
2015-04-07 15:50   
Test Plan:

-Create a sales order with invoice term "after delivery" and with a line with qty=2
-Complete
-Create a shipment for the same partner
-Using the create from order window select the line created on the product
-Change the qty from 2 to 1.
-Complete
-Go to create invoices form order and invoice the previously created order.
-Check the invoice is created and the order doesn't appear to be invoice
-Create another shipment for the same partner
-Using the create from order window select the line created on the product
-Go to create invoices from order again and see the order appears again.
-Invoice the sales order
(0076443)
hgbot   
2015-04-10 13:16   
Repository: erp/devel/pi
Changeset: dc5fdc07fcc5940802ea42fd9d164079619856d4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Apr 07 15:15:30 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dc5fdc07fcc5940802ea42fd9d164079619856d4 [^]

Fixed issue 29115: An order partially delivered appears to be invoiced

An order partially delivered appears to be invoiced after invoice the
delivered part.

The solution is to show those orders who have goods delivered and
not invoiced. Now, the Create Invoices from Orders shows only those
orders.

---
M src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual_data.xsql
---
(0076444)
umartirena   
2015-04-10 13:17   
Code Review + Testing OK
(0077116)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test