Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034854Retail ModulesCash uppublic2017-01-05 11:222017-06-12 22:00
nataliag 
jorge-garcia 
normalmajoralways
closedfixed 
5
 
RR17Q2 
marvintm
No
0034854: Creation of Sales invoices without lines when a sale order is closed
If a sale order of a layaway is closed and then you do the cashup, the sales invoice that is generated does not have lines. The Sales invoice should not be generated.
1-Go to webPOS and make a sale using VBS Customer.
2- Create a new receipt with some products and layaway it. Change the customer to Arturo Montoro for example and layaway it.
3- Go to “Sales Order” window in backend and close the order that you have layaway.
4- Go back to WebPOS and make the Cash Up.
5- Return to backend and go to “Sales Invoice” window. Two different invoices have been generated, one for each Business partner used. In the case of VBS Customer, the invoice has the corresponding lines, but in the case of the Arturo montoro invoice, any line appears.
No tags attached.
has duplicate defect 0036152 closed ranjith_qualiantech_com Cash Up generates invoices without lines when a layaway is voided 
Issue History
2017-01-05 11:22nataliagNew Issue
2017-01-05 11:22nataliagAssigned To => Triage Finance
2017-01-05 11:22nataliagModules => Core
2017-01-05 11:22nataliagResolution time => 1485385200
2017-01-05 11:22nataliagTriggers an Emergency Pack => No
2017-01-05 11:34heccamIssue Monitored: heccam
2017-01-05 17:28nataliagProjectOpenbravo ERP => Retail Modules
2017-01-05 17:32nataliagCategory07. Sales management => Cash up
2017-01-05 17:41jorge-garciaAssigned ToTriage Finance => Retail
2017-01-11 17:48jorge-garciaStatusnew => scheduled
2017-01-11 17:48jorge-garciaAssigned ToRetail => jorge-garcia
2017-01-16 08:47hgbotCheckin
2017-01-16 08:47hgbotNote Added: 0093567
2017-01-16 08:47hgbotStatusscheduled => resolved
2017-01-16 08:47hgbotResolutionopen => fixed
2017-01-16 08:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/19f6ed6b5883525d47e4c7bfd893f591e9b2537d [^]
2017-01-16 08:57marvintmReview Assigned To => marvintm
2017-01-16 08:57marvintmStatusresolved => closed
2017-01-16 08:57marvintmFixed in Version => RR17Q2
2017-06-06 15:02ranjith_qualiantech_comRelationship addedrelated to 0036152
2017-06-07 10:46marvintmRelationship replacedhas duplicate 0036152
2017-06-12 22:00rbianchiniNote Added: 0097332

Notes
(0093567)
hgbot   
2017-01-16 08:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 19f6ed6b5883525d47e4c7bfd893f591e9b2537d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jan 13 09:58:55 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/19f6ed6b5883525d47e4c7bfd893f591e9b2537d [^]

Fixed issue 34854: Creation of Sales invoices without lines when a sale
order is closed

The solution is to take into account order lines status when the process
tries to create a header.

---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor_data.xsql
---
(0097332)
rbianchini   
2017-06-12 22:00   
The Partner is asking for a script to delete the invoices without lines created by this issue