Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037855Retail ModulesWeb POSpublic2018-02-07 18:072018-05-18 11:46
ngarcia 
rqueralta 
urgentmajoralways
scheduledopen 
5
 
 
No
0037855: Grand total is modified and do not match paid amount if sales invoice with discount is reactivated and completed again
Grand total is modified and do not match paid amount if sales invoice with discount is reactivated and completed again
In the backend:
   Change 'Entregas IVA 21%' rate from 21 to 16
   Change 'Avalanche transceiver' product's price to 52 in 'The White Valley Group Sale Price List Version' price list (Price Includes Tax)
   Add a Price Adjustment in Discounts and Promotions window:
      Discount %: 2.3
      Included Products: Only those defined
   Add 'Avalanche transceiver' in products tab

In the POS:
   Do the cash up
   Create a new receipt
   Add two units of 'Avalanche transceiver'
   Check the total amount is 101.61
   Do the cash up again

In the backend:
   Check the created sales order and sales invoice have a total gross amount of 101.61
   Reactivate and complete the invoice and change it changes to 101.62 (The same amount is obtained if the documents are created in the backoffice)
No tags attached.
related to defect 0037840 closed Retail Rounding issues when adding Discounts and Promotions to POS documents, wrong total gross amount 
Issue History
2018-02-07 18:07ngarciaNew Issue
2018-02-07 18:07ngarciaAssigned To => Retail
2018-02-07 18:07ngarciaRegression date => 2018-02-27
2018-02-07 18:07ngarciaTriggers an Emergency Pack => No
2018-02-07 18:07ngarciaIssue Monitored: networkb
2018-02-07 18:07ngarciaRelationship addedrelated to 0037840
2018-02-12 12:31maiteResolution time => 1519686000
2018-02-12 12:31maiteRegression date2018-02-27 =>
2018-02-27 00:05rqueraltaAssigned ToRetail => rqueralta
2018-02-27 00:05rqueraltaStatusnew => scheduled
2018-03-09 11:25marvintmResolution time1519686000 =>
2018-03-09 11:25marvintmTypedefect => design defect
2018-03-09 11:27marvintmNote Added: 0103130

Notes
(0103130)
marvintm   
2018-03-09 11:27   
This issue is a design defect, because the root cause of it is that the backend is calculating the receipts slightly different than the Web POS.

Regardless of this, reactivating an invoice is not a recommended practice, and specially in the context of invoices coming from Retail, it's a flow which changes existing data which was already booked (related to tickets which in most cases the customer already got in printed format), and in many cases the document was already synchronized to some external systems. It's a better idea to void the invoice instead, and generate a new one, to keep trace of the changes done.