Openbravo Issue Tracking System - POS2
View Issue Details
0050888POS2POSpublic2022-11-14 14:382022-11-14 14:38
charlotte_vasseur 
Retail 
normalmajoralways
newopen 
5
 
 
No
0050888: [OPECOM + PROMO] Discount percentages and amounts of OPECOM incorrect for quantity > 1
In OPECOM, 'For Templates' and 'For Webpos UI' fields = 'List Price + Discount Percentage'
Same if 'For Templates' and 'For Webpos UI' fields = 'List Price + Discounted Amount'

=> The discount percentage and amount for the OPECOM are not correct when product has quantity > 1 if product is targeted by both OPECOM and promotion
The discount percentage and amount for the OPECOM should not change with quantity, as it is the case if the product is targeted only by OPECOM

Same logic should be applied in printed ticket for receipt / duplicate / invoice / return
In backoffice, I created a commercial operation with:
- validated, starting 07/11/22 and ending 15/12/2022
- 'List Price + Discount Percentage' for 'For Templates' and 'For Webpos UI' fields
- Store = Vall blanca
- Product = WVG/B0016 (insect repellent) 14,50 unit price to 13,05 (10% discount and 1,45 discount amount)
See OPECOM backoffice.png

In backoffice, I created a promotion with :
- active and starting 11-11-2022
- 'Included Product' = 'Only those defined'
- in ‘Product’ tab = product Insect Repellent (same that for OPECOM)
- 'Included Organizations' = 'Only those defined'
- in ‘Organization’ tab, include store Vall Blanca
- discount % = 12
See Promo backoffice.png


Log in in Vall Blanca POS (POS2) and add product 'Insect repellent' in quantity 1
=> The discount percentage and amount for the OPECOM are correct (10% and 1,45€)
The discount amount for the promotion is correct (1,57€ = 12% of 13,05)
See POS discounts qty 1 OK.png

Change the quantity of the product to 2
=> The discount percentage and amount for the OPECOM are incorrect (1% and 0,12€), they should not change and stay the same (10% and 1,45€)
The discount for the promotion is correct (3,13€ = 12% of 13,05*2)
See POS discounts qty 2 KO.png

Cannot be tested for printed tickets (receipt, duplicate, invoice or return) because the discount line of OPECOM is not displayed (see print ticket opecom + promo.png)
No tags attached.
png OPECOM backoffice.png (160,039) 2022-11-14 14:38
https://issues.openbravo.com/file_download.php?file_id=17822&type=bug
png

png Promo backoffice.png (184,336) 2022-11-14 14:38
https://issues.openbravo.com/file_download.php?file_id=17823&type=bug
png

png POS discounts qty 1 OK.png (120,215) 2022-11-14 14:38
https://issues.openbravo.com/file_download.php?file_id=17824&type=bug
png

png POS discounts qty 2 KO.png (121,110) 2022-11-14 14:38
https://issues.openbravo.com/file_download.php?file_id=17825&type=bug
png

png print ticket opecom + promo.png (56,484) 2022-11-14 14:38
https://issues.openbravo.com/file_download.php?file_id=17826&type=bug
png
Issue History
2022-11-14 14:38charlotte_vasseurNew Issue
2022-11-14 14:38charlotte_vasseurAssigned To => Retail
2022-11-14 14:38charlotte_vasseurFile Added: OPECOM backoffice.png
2022-11-14 14:38charlotte_vasseurTriggers an Emergency Pack => No
2022-11-14 14:38charlotte_vasseurFile Added: Promo backoffice.png
2022-11-14 14:38charlotte_vasseurFile Added: POS discounts qty 1 OK.png
2022-11-14 14:38charlotte_vasseurFile Added: POS discounts qty 2 KO.png
2022-11-14 14:38charlotte_vasseurFile Added: print ticket opecom + promo.png

There are no notes attached to this issue.