Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046487Retail ModulesDiscounts and Promotionspublic2021-05-04 15:442021-08-25 12:28
gsuarez 
Retail 
normalmajoralways
closedno change required 
5
RR19Q1.1 
 
marvintm
No
0046487: Apply discount with coupon and price adjustment leaves negative line.
This issue is not reproducible in PI with modules environment. This happens in the 19Q1.1 version. Could someone give us a backport of the original issue, please?
The following are the steps:
1. Create a new discount with type Variable Amount Coupons. Check the field Uses coupon codes.
2. Create a new discount with type Price Adjustment with 10% of discount to some business partner.
3. Create an OTF Rule like the image Selección_646.png. Select the discount created in step 1.
4. In the WebPOS, register a new sales with a total of 33.47. This sales should generate a coupon with amount = 8.37.
5. In the WebPOS, select the business partner with the 10% of discount configured in the discount created in step 2.
6. Add a product with price 8.99. Check that the system add a discount of 0.90 euros.
7. Add a product with price 1. Check that the system add a discount of 0.10.
8. Add the coupon generated in the step 4. Check that the line 2 is in negative. The line amount is -0.02.
No tags attached.
png Selección_646.png (135,344) 2021-05-04 15:44
https://issues.openbravo.com/file_download.php?file_id=15637&type=bug
png
Issue History
2021-05-04 15:44gsuarezNew Issue
2021-05-04 15:44gsuarezAssigned To => Retail
2021-05-04 15:44gsuarezFile Added: Selección_646.png
2021-05-04 15:44gsuarezResolution time => 1621980000
2021-05-04 15:44gsuarezTriggers an Emergency Pack => No
2021-08-25 12:28marvintmReview Assigned To => marvintm
2021-08-25 12:28marvintmNote Added: 0131348
2021-08-25 12:28marvintmStatusnew => closed
2021-08-25 12:28marvintmResolutionopen => no change required

Notes
(0131348)
marvintm   
2021-08-25 12:28   
The problem seems to be not reproducible in current releases. If you need help to find the change that fixed it please ping us separately.