Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037840Retail ModulesWeb POSpublic2018-02-06 12:422018-02-07 18:09
ngarcia 
Retail 
urgentmajoralways
closedno change required 
5
 
 
ngarcia
No
0037840: Rounding issues when adding Discounts and Promotions to POS documents, wrong total gross amount
Rounding issues when adding Discounts and Promotions to POS documents, wrong total gross amount

Some consequences:

- If the invoice is voided, the grand totals of the original invoice and the voiding one do not match
- If the invoice is reactivated and completed, the grand total and the paid amount do not match
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)

In the POS:
   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
   Void the invoice and change it has an amount of -101.62
No tags attached.
related to design defect 0037854 new Triage Omni OMS Openbravo ERP Grand total of voiding an issue does not match with the grand total of the original one 
related to design defect 0037855 scheduled rqueralta Retail Modules Grand total is modified and do not match paid amount if sales invoice with discount is reactivated and completed again 
patch issue 37840 source discount.bypaymentmethod.patch (2,472) 2018-02-06 16:52
https://issues.openbravo.com/file_download.php?file_id=11554&type=bug
Issue History
2018-02-06 12:42ngarciaNew Issue
2018-02-06 12:42ngarciaAssigned To => Retail
2018-02-06 12:42ngarciaResolution time => 1519686000
2018-02-06 12:42ngarciaTriggers an Emergency Pack => No
2018-02-06 12:43ngarciaIssue Monitored: networkb
2018-02-06 13:01ngarciaDescription Updatedbug_revision_view_page.php?rev_id=16634#r16634
2018-02-06 13:03ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16636#r16636
2018-02-06 14:29jfrancesIssue Monitored: jfrances
2018-02-06 16:52ranjith_qualiantech_comFile Added: issue 37840 source discount.bypaymentmethod.patch
2018-02-07 17:05ngarciaRelationship addedrelated to 0037854
2018-02-07 18:07ngarciaRelationship addedrelated to 0037855
2018-02-07 18:09ngarciaReview Assigned To => ngarcia
2018-02-07 18:09ngarciaNote Added: 0102262
2018-02-07 18:09ngarciaStatusnew => closed
2018-02-07 18:09ngarciaResolutionopen => no change required

Notes
(0102262)
ngarcia   
2018-02-07 18:09   
The consequences have been reported as different bugs:

- Void the invoice: 37854
- Reactivate the invoice: 37855