Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055876Retail ModulesWeb POSpublic2024-07-01 13:022024-09-02 15:52
gorkaion 
Triage Omni OMS 
highminoralways
newopen 
5
 
 
No
0055876: Tax calculation in the WebPOS distrubute the adjustment amount on different lines
Sometimes, the tax engine needs to perform an adjustment on the lines if "Document based" tax calculation is used, in order to ensure that line amount match with the calculated taxes.

Currently the line adjusted is the one with highest rounding amount in the opposite direction. However if the required adjustment amount is for more than 1 cent the adjustment should be spread on different lines.

For example if the adjustment amount is of 0.02 the 2 lines with highest rounded amount shall be adjusted with 1 cent each.
Ensure that the tax calculation base is at document level.
Create a ticket with 10 lines of 0.01 eur each.
POS calculates a tax of 0.00EUR on each line.
At header level the total is 0.10EUR with 0.02EUR tax.

To adjust those 0.02 cents if chooses one of the lines and changes the tax amount to 0.02. These makes the line net amount to be -0.01.

The negative line net amount causes some integrations to fail.
Instead of adjusting one line the tax engine should have adjusted 2 lines leaving the line net amount of those to 0Eur which is accepted by the integration.
No tags attached.
related to defect 0046071 closed ranjith_qualiantech_com Tax calculation in the WebPOS should adjust the tax line with the greatest rounded difference 
Issue History
2024-07-01 13:02gorkaionNew Issue
2024-07-01 13:02gorkaionAssigned To => Retail
2024-07-01 13:02gorkaionTriggers an Emergency Pack => No
2024-07-01 13:02gorkaionIssue generated from0046071
2024-07-01 13:02gorkaionRelationship addedrelated to 0046071
2024-07-01 13:21marvintmAssigned ToRetail => Triage Omni OMS
2024-07-02 08:56frank_gonzalezNote Added: 0166570
2024-07-16 16:07aferrazTypedefect => design defect
2024-09-02 15:52dmitry_mezentsevSeveritymajor => minor
2024-09-02 15:52dmitry_mezentsevTypedesign defect => defect

Notes
(0166570)
frank_gonzalez   
2024-07-02 08:56   
Jir: https://openbravo.atlassian.net/browse/RM-15092 [^]