Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048412Retail ModulesDiscounts by Totalpublic2022-01-17 21:052022-01-31 07:36
idiez 
ranjith_qualiantech_com 
highmajoralways
closedno change required 
5
pi 
 
marvintm
No
0048412: Return amount didnt match with the purchase
Return amount didnt match with the purchase in the version 19Q.3 but it replicates in all versions
Backoffice: https://livebuilds.openbravo.com/retail_modules_pgsql_pi/ [^]

1) Go to the window "Discount and promotions"

2) Create a discount. In the tab "Discount/Promotions type" select "Variable Percentage Discount per Total Amount" and in Discount Category create a category "The name doesn't matter"

3) Go to the WebPos: https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal [^]

4) Create an order and add lines

5)Add a Discount and select the discount that we have created in the backoffice

6) Pay the order

7) Go to "Verified Returns" and select the order created above. Select all products and apply

8) It could be observed that the total is negative
No tags attached.
? 48412.mkv (2,305,081) 2022-01-24 14:31
https://issues.openbravo.com/file_download.php?file_id=16542&type=bug
Issue History
2022-01-17 21:05idiezNew Issue
2022-01-17 21:05idiezAssigned To => Retail
2022-01-17 21:05idiezTriggers an Emergency Pack => No
2022-01-17 21:08idiezNote Added: 0134348
2022-01-24 06:11ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-01-24 10:10ranjith_qualiantech_comStatusnew => scheduled
2022-01-24 14:31ranjith_qualiantech_comFile Added: 48412.mkv
2022-01-28 14:32idiezNote Added: 0134664
2022-01-28 14:34ranjith_qualiantech_comNote Added: 0134665
2022-01-28 14:34ranjith_qualiantech_comStatusscheduled => resolved
2022-01-28 14:34ranjith_qualiantech_comResolutionopen => fixed
2022-01-31 07:36marvintmStatusresolved => new
2022-01-31 07:36marvintmResolutionfixed => open
2022-01-31 07:36marvintmReview Assigned To => marvintm
2022-01-31 07:36marvintmStatusnew => closed
2022-01-31 07:36marvintmResolutionopen => no change required

Notes
(0134348)
idiez   
2022-01-17 21:08   
Video link replicating the error: https://drive.google.com/file/d/1PSrvhAEq4_r52n-9VS590VxvrLu5zzIV/view?usp=sharing [^]
(0134664)
idiez   
2022-01-28 14:32   
Ranjith has given me a few steps for the client so it has worked fine. could you close the issue
(0134665)
ranjith_qualiantech_com   
2022-01-28 14:34   
Issue is happening in Decathlon Italy possible due to configuration issue. Now, it s not happening anymore