Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035180Retail ModulesWeb POSpublic2017-01-31 11:142017-03-03 14:25
plujan 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
RR16Q4.1 
RR16Q4.2RR16Q4.2 
marvintm
No
0035180: [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 => RR16Q4.2
2017-02-07 12:29hgbotCheckin
2017-02-07 12:29hgbotNote Added: 0094120
2017-02-07 12:29hgbotStatusscheduled => resolved
2017-02-07 12:29hgbotResolutionopen => fixed
2017-02-07 12:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51ea481f2d56b3dc9df1de99c097378aa5a9e5eb [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal/rev/a313fc0757b2643cdebb0f209dd0c8d169a00d3b [^]
2017-02-07 12:30hgbotCheckin
2017-02-07 12:30hgbotNote Added: 0094121
2017-03-03 14:25marvintmReview Assigned To => marvintm
2017-03-03 14:25marvintmStatusresolved => closed
2017-03-03 14:25marvintmFixed in Version => RR16Q4.2

Notes
(0094120)
hgbot   
2017-02-07 12:29   
Repository: retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal
Changeset: a313fc0757b2643cdebb0f209dd0c8d169a00d3b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 16:58:42 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal/rev/a313fc0757b2643cdebb0f209dd0c8d169a00d3b [^]

Fixes issue 35180 : 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
---
(0094121)
hgbot   
2017-02-07 12:30   
Repository: retail/backports/3.0RR16Q4.2/pi-mobile
Changeset: 2c87535c812039c23b4c2057e23988c5b124f8a2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 16:58:27 2017 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.2/pi-mobile/rev/2c87535c812039c23b4c2057e23988c5b124f8a2 [^]

Verifies issue 35180 : Added automated test 'I35180_ChangeCustomerWithSplitLinesPromotions'

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