Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047394Retail ModulesWeb POSpublic2021-07-14 13:502021-08-02 15:20
kchoperena 
prakashmurugesan88 
urgentcriticalalways
closedduplicate 
5
RR20Q1.3 
 
adrianromero
No
0047394: The translateManualPromotionsForEngine is not taking into account the amount difference while filling the manual promotions
The translateManualPromotionsForEngine is the function in charge to get the manual promotions array before recalculate it. This function is not working as should be when we have the same promotion type but with different amounts.

1.- Log in to the webpos
2.- Create a layaway with 2 lines
3.- Apply a manual promotion of 10€ to the first line
4.- Apply another manual promotion of 5€ for the second line
5.- Synchronize the Layaway
6.- Open again the Layaway and run a Cancel and replace
7.- Change the qty of the second line

Result: The manual discount of the second line change the amount to 10€. Also, note that other discounts appear in both lines

VIDEO: https://drive.google.com/file/d/1Hz2Ao-Tpsuf2pOoPWZ8s471vTGSzJhgK/view [^]
No tags attached.
duplicate of defect 0047393 closed prakashmurugesan88 Cancel & Replace has 2 issues 
diff I47394_DiscountDuplicateIssue20Q1.diff (1,200) 2021-08-02 15:20
https://issues.openbravo.com/file_download.php?file_id=16063&type=bug
Issue History
2021-07-14 13:50kchoperenaNew Issue
2021-07-14 13:50kchoperenaAssigned To => Retail
2021-07-14 13:50kchoperenaResolution time => 1627423200
2021-07-14 13:50kchoperenaTriggers an Emergency Pack => No
2021-07-16 09:27guilleaerAssigned ToRetail => prakashmurugesan88
2021-07-16 09:27guilleaerStatusnew => acknowledged
2021-07-20 08:58prakashmurugesan88Statusacknowledged => scheduled
2021-07-27 13:04adrianromeroRelationship addedrelated to 0047393
2021-07-29 12:06adrianromeroReview Assigned To => adrianromero
2021-07-29 12:07adrianromeroRelationship replacedduplicate of 0047393
2021-07-29 12:07adrianromeroNote Added: 0130875
2021-07-29 12:07adrianromeroStatusscheduled => closed
2021-07-29 12:07adrianromeroResolutionopen => duplicate
2021-08-02 15:20prakashmurugesan88File Added: I47394_DiscountDuplicateIssue20Q1.diff

Notes
(0130875)
adrianromero   
2021-07-29 12:07   
The fixes applied for 47393 also fixes this issue