Openbravo Issue Tracking System - POS2
View Issue Details
0057302POS2POSpublic2024-11-27 08:472025-03-29 08:03
frank_gonzalez 
radhakrishnan 
normalmajoralways
closedduplicate 
5
 
 
No
No
0057302: Prices incorrectly calculated for ticket containing contribution configured with unique quantity and price included
If an item (main product) is added to the ticket and that product is associated with a contribution having a unique quantity and "price included", the total for the lines will be incorrect if the quantity of the main product is increased.

E.g. the main product (Balaclava cap) costs 169€ and a contribution configured with "unique quantity" and "price included" is associated to it. If we add a second cap, the total should be: 338€ = 169€ + (164€ + 5€) where the contribution is only counted in one case (unique quantity).

But currently, the total comes out to: 333€ = 164€ + (164€ + 5€) where there is only one contribution, but the price of every item is reduced by the contribution price.
1. Log into the back office and create a product subtype as follows:
- Linkable to products = true
- Price calculation = As listed in price list
- Included in product price = true
- Quantity rule = unique quantity
2. Create a product with product type "Contribution", assign it the previously created product subtype and relate it to product "Balaclava cap"
3. Set the price as 5€
4. Log into the POS and add a Balaclava cap
- Total is 169€ = 164€ item + 5€ contribution (correct)
5. Add another cap
- Total is now 333€ = 164€ item + (164€ item + 5€ contribution) (incorrect)
No tags attached.
png Screenshot from 2024-11-26 11-29-36.png (27,082) 2024-11-27 08:47
https://issues.openbravo.com/file_download.php?file_id=20564&type=bug
png
Issue History
2024-11-27 08:47frank_gonzalezNew Issue
2024-11-27 08:47frank_gonzalezAssigned To => Triage Omni OMS
2024-11-27 08:47frank_gonzalezFile Added: Screenshot from 2024-11-26 11-29-36.png
2024-11-27 08:47frank_gonzalezOBNetwork customer => No
2024-11-27 08:47frank_gonzalezTriggers an Emergency Pack => No
2024-12-22 21:50aferrazNote Added: 0173598
2025-01-16 13:58jonaeAssigned ToTriage Omni OMS => radhakrishnan
2025-03-29 08:03AugustoMauchNote Added: 0177690
2025-03-29 08:03AugustoMauchStatusnew => closed
2025-03-29 08:03AugustoMauchResolutionopen => duplicate

Notes
(0173598)
aferraz   
2024-12-22 21:50   
Jira: https://openbravo.atlassian.net/browse/RM-20036 [^]
(0177690)
AugustoMauch   
2025-03-29 08:03   
Exported to Jira: https://openbravo.atlassian.net/browse/RM-20036 [^]