Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035101Retail ModulesWeb POSpublic2017-01-31 11:142017-02-07 10:01
plujan 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
RR16Q4.1 
RR17Q2 
marvintm
No
0035101: [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.
related to defect 0035061 closed jorge-garcia [RR16Q4] Split lines shows an exception when changing the pricelist 
related to defect 0034370 scheduled Retail Promotion BuyXPayY of same product doesn't work when Split Action Done 
depends on backport 0035179RR17Q1 closed ranjith_qualiantech_com [RR16Q4] Promotions in split lines are not recalculated when using multi price list 
depends on backport 0035180RR16Q4.2 closed ranjith_qualiantech_com [RR16Q4] Promotions in split lines are not recalculated when using multi price list 
patch issue 35101 16Q4 posterminal.patch (1,925) 2017-02-07 06:22
https://issues.openbravo.com/file_download.php?file_id=10416&type=bug
Issue History
2017-01-31 11:14plujanNew Issue
2017-01-31 11:14plujanAssigned To => Retail
2017-01-31 11:14plujanTriggers an Emergency Pack => No
2017-01-31 11:14plujanRelationship addedrelated to 0035061
2017-01-31 13:26heccamIssue Monitored: heccam
2017-01-31 16:22plujanResolution time => 1487026800
2017-01-31 17:47PracticsIssue Monitored: Practics
2017-02-01 13:48ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-02-01 13:49ranjith_qualiantech_comStatusnew => scheduled
2017-02-04 07:15ranjith_qualiantech_comRelationship addedrelated to 0034370
2017-02-07 06:20hgbotCheckin
2017-02-07 06:20hgbotNote Added: 0094106
2017-02-07 06:20hgbotStatusscheduled => resolved
2017-02-07 06:20hgbotResolutionopen => fixed
2017-02-07 06:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51ea481f2d56b3dc9df1de99c097378aa5a9e5eb [^]
2017-02-07 06:21hgbotCheckin
2017-02-07 06:21hgbotNote Added: 0094107
2017-02-07 06:22ranjith_qualiantech_comFile Added: issue 35101 16Q4 posterminal.patch
2017-02-07 10:00marvintmStatusresolved => new
2017-02-07 10:00marvintmResolutionfixed => open
2017-02-07 10:00marvintmStatusnew => scheduled
2017-02-07 10:01marvintmStatusscheduled => resolved
2017-02-07 10:01marvintmFixed in Version => RR17Q2
2017-02-07 10:01marvintmResolutionopen => fixed
2017-02-07 10:01marvintmReview Assigned To => marvintm
2017-02-07 10:01marvintmStatusresolved => closed

Notes
(0094106)
hgbot   
2017-02-07 06:20   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 51ea481f2d56b3dc9df1de99c097378aa5a9e5eb
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 10:50:13 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/51ea481f2d56b3dc9df1de99c097378aa5a9e5eb [^]

Fixes issue 35101 : 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
---
(0094107)
hgbot   
2017-02-07 06:21   
Repository: tools/automation/pi-mobile
Changeset: e1a5f87df4f48bc9ad3cc831f5d84f961353816e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Feb 07 10:50:19 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e1a5f87df4f48bc9ad3cc831f5d84f961353816e [^]

Verifies issue 35101 : Added automated test 'I35101_ChangeCustomerWithSplitLinesPromotions'

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