Openbravo Issue Tracking System - Retail Modules
View Issue Details
0057146Retail ModulesWeb POSpublic2024-11-18 13:122025-01-03 14:09
plujan 
Triage Omni OMS 
normalmajorhave not tried
newopen 
5
main 
 
No
0057146: [24q4] Total ticket price is reduced when adding a service with a price
Adding a Service with a price that is not included in the ticket reduces the total amount of the ticket
1. Login in Openbravo Web POS (http://{server}/{context}/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^])

Username: vallblanca
Password: openbravo
2. Create a new ticket
3. Go to the Search tab and search for 'Expedition tent 4 season 2 person'.
4. Add an Expedition tent 4 season 2 person to the ticket.
5. Select the ticket line
6. On the EDIT tab, click on the Delivery Mode button.
    
7. Select the Home Delivery option, fill a future date/time and click on Apply.

Expected result:
The amount of the ticket is now 350.50EUR

Observed result:
The amount of the ticket is now 318.64EUR
No tags attached.
png Untitled.png (210,677) 2024-11-18 13:12
https://issues.openbravo.com/file_download.php?file_id=20501&type=bug
png
Issue History
2024-11-18 13:12plujanNew Issue
2024-11-18 13:12plujanAssigned To => Retail
2024-11-18 13:12plujanFile Added: Untitled.png
2024-11-18 13:12plujanTriggers an Emergency Pack => No
2024-11-18 13:12plujanIssue generated from0057145
2024-11-18 13:21plujanIssue cloned0057147
2024-12-27 02:08fofarrilAssigned ToRetail => fofarril
2024-12-27 14:37fofarrilStatusnew => scheduled
2025-01-03 14:01fofarrilNote Added: 0173835
2025-01-03 14:03fofarrilAssigned Tofofarril => Triage Omni OMS
2025-01-03 14:03fofarrilStatusscheduled => acknowledged
2025-01-03 14:09fofarrilStatusacknowledged => new

Notes
(0173835)
fofarril   
2025-01-03 14:01   
I think the problem is caused by a change in taxes in the product line. The product 'Expedition tent 4 season 2 person' initially has a tax 'Deliveries VAT 21%', after adding the service it has a tax 'Deliveries VAT 10%'. It would be convenient to review these two files:
 - tax-engine.js
 - tax-rules.js
to analyze the behavior when the discount rules are applied.