Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035179Retail ModulesWeb POSpublic2017-01-31 11:142017-03-15 14:12
plujan 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
RR16Q4.1 
RR17Q1RR17Q1 
marvintm
No
0035179: [RR16Q4] Promotions in split lines are not recalculated when using multi price list
When using split lines with in a multi price list context, changing the business partner does not calculate the applied promotions.
SCENARIO I:
1. Create a ticket for business partner A
2. Add 3 products of a "3x2" promotion (i.e. Bottle 1L in White Valley). Note the line displays the promotion.
3. Split the line in one of 2 and one of 1. Note the promotion keeps applied.
4. Delete the ticket.
5. Create a ticket for business partner B (different price list than business partner A)
6. Add the same 3 products of step 2. Note the promotion is shown.
7. Split the line in one of 2 and one of 1. Note the promotion keeps applied.
8. Change the business partner to A. Note the promotion is not shown (wrong behaviour)

SCENARIO II:
1. Create a ticket for business partner A. This partner has a fixed discount of 10% on all products
2. Add 3 different products. Note each line displaying the promotion.
3. Split the line in one of 2 and one of 1. Note the promotion keeps applied.
4. Delete the ticket.
5. Create a ticket for business partner B (not part of the same promotion group of business partner A)
6. Add the same 3 products of step 2. Note that no promotion is shown (expected behaviour).
7. Split the line in one of 2 and one of 1
8. Change the business partner to A. Note the promotion is not shown (wrong behaviour).
No tags attached.
blocks defect 0035101 closed ranjith_qualiantech_com [RR16Q4] Promotions in split lines are not recalculated when using multi price list 
Issue History
2017-02-07 10:00marvintmTypedefect => backport
2017-02-07 10:00marvintmTarget Version => RR17Q1
2017-02-07 12:19hgbotCheckin
2017-02-07 12:19hgbotNote Added: 0094116
2017-02-07 12:19hgbotStatusscheduled => resolved
2017-02-07 12:19hgbotResolutionopen => fixed
2017-02-07 12:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51ea481f2d56b3dc9df1de99c097378aa5a9e5eb [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/e7d7be9d9224ec0d907a32969ad6d4ea5d4ccc21 [^]
2017-02-07 12:20hgbotCheckin
2017-02-07 12:20hgbotNote Added: 0094117
2017-03-03 14:25marvintmReview Assigned To => marvintm
2017-03-03 14:25marvintmStatusresolved => closed
2017-03-03 14:25marvintmFixed in Version => RR17Q1
2017-03-15 14:12hgbotCheckin
2017-03-15 14:12hgbotNote Added: 0095042

Notes
(0094116)
hgbot   
2017-02-07 12:19   
Repository: retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal
Changeset: e7d7be9d9224ec0d907a32969ad6d4ea5d4ccc21
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 16:48:37 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/e7d7be9d9224ec0d907a32969ad6d4ea5d4ccc21 [^]

Fixes issue 35179 : Trigger Line Promotions changes if the line is splited

* Line change should be triggered, if the line is splited and with promotions

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0094117)
hgbot   
2017-02-07 12:20   
Repository: retail/backports/3.0RR17Q1/pi-mobile
Changeset: c69ee2273278ca0218d522e79ec71c46019cecbe
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 16:49:36 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/pi-mobile/rev/c69ee2273278ca0218d522e79ec71c46019cecbe [^]

Verifies issue 35179 : Added automated test 'I35179_ChangeCustomerWithSplitLinesPromotions'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/I35179_ChangeCustomerWithSplitLinesPromotions.java
---
(0095042)
hgbot   
2017-03-15 14:12   
Repository: tools/automation/pi-mobile
Changeset: c69ee2273278ca0218d522e79ec71c46019cecbe
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 16:49:36 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c69ee2273278ca0218d522e79ec71c46019cecbe [^]

Verifies issue 35179 : Added automated test 'I35179_ChangeCustomerWithSplitLinesPromotions'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/I35179_ChangeCustomerWithSplitLinesPromotions.java
---