Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039858Retail ModulesWeb POSpublic2018-12-27 13:582019-02-05 08:49
marvintm 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR19Q2 
marvintm
No
0039858: If a line with manual discounts is split, automatic discounts no longer work
If a line with manual discounts is split, automatic discounts no longer work, as they are no longer applied to those lines, even if according to the rules they should be
- Add 6 units of "Bottle 1L". This will automatically add two discounts of 3x2 Bottles
- Add manual discount "Fixed percentage discount by total 23%"
- Select the line and split it in two lines. The 23% discount will disappear
No tags attached.
related to defect 0039536 closed ranjith_qualiantech_com [RR18Q4] Total Amount discounts get removed when splitting lines 
Issue History
2018-12-27 13:58marvintmNew Issue
2018-12-27 13:58marvintmAssigned To => ranjith_qualiantech_com
2018-12-27 13:58marvintmTriggers an Emergency Pack => No
2018-12-27 13:58marvintmStatusnew => scheduled
2018-12-27 13:58marvintmRelationship addedrelated to 0039536
2019-01-22 12:50hgbotCheckin
2019-01-22 12:50hgbotNote Added: 0109071
2019-01-22 12:50hgbotStatusscheduled => resolved
2019-01-22 12:50hgbotResolutionopen => fixed
2019-01-22 12:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70d563f2783c22e0813ac2da2b926d130d80eaba [^]
2019-01-22 12:51hgbotCheckin
2019-01-22 12:51hgbotNote Added: 0109072
2019-02-05 08:49marvintmReview Assigned To => marvintm
2019-02-05 08:49marvintmStatusresolved => closed
2019-02-05 08:49marvintmFixed in Version => RR19Q2

Notes
(0109071)
hgbot   
2019-01-22 12:50   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 70d563f2783c22e0813ac2da2b926d130d80eaba
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 22 17:20:25 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/70d563f2783c22e0813ac2da2b926d130d80eaba [^]

Fixed issue 39858 : Split Lines with both Manual and automatic discounts

* With Multi Discount support, If a line has both Manual and automatic discounts,
  while spliting it, discounts should be splited proportionally to each splited lines

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0109072)
hgbot   
2019-01-22 12:51   
Repository: tools/automation/pi-mobile
Changeset: c7f3d6a7beb7c63796912b5914ba93d26b138099
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jan 22 17:20:39 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c7f3d6a7beb7c63796912b5914ba93d26b138099 [^]

Verifies issue 39858 : Added Automated Test "I39858_VerifySplitLineWithManualAndAutoPromo"

---
A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/splitline/I39858_VerifySplitLineWithManualAndAutoPromo.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/splitline/I39858_VerifySplitLineWithManualAndAutoPromo.java
---