Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0032528 | Retail Modules | Web POS | public | 2016-03-22 10:04 | 2016-04-27 13:15 | |||||||
Reporter | aaroncalero | |||||||||||
Assigned To | mario_castello | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR16Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0032528: The split done by combo discounts doesn't propagate changes done to lines | |||||||||||
Description | When the combo discount calculation splits a line in two, the changes done to the original line are not propagated to the new line. | |||||||||||
Steps To Reproduce | Install the Combo discounts module. (optional: install also the retail tax exempt module, for extra checking) Define a combo in backend with two families and products on both families. Login in web pos (e.g. https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=YS-11, [^] already configured) Add the Torch and Backpack combo: * 1 unit of Backpack CB1 25l * 2 units of Torch CB1 Change the price of the Backpack CB1 to 50 (optional) Go to the EDIT tab and apply Tax Exempt to that line. With the backpack line still selected, click on the + button of the virtual keyboard. Instead of increasing the quantity of the line to two, a new line is created (this is somewhat OK). The problem is that the new line is created with the original price of the backpack, and without the Tax Exempt flag | |||||||||||
Proposed Solution | This is the code that duplicates lines: if (!linesCreated) { _.each(linesToCreate, function (line) { me.createLine(line.product, line.qty, null, line.attrs); }); linesCreated = true; } on order.js, function fillPromotionsWith(). | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-03-22 10:04 | aaroncalero | New Issue | ||||||||||
2016-03-22 10:04 | aaroncalero | Assigned To | => Retail | |||||||||
2016-03-22 10:04 | aaroncalero | Triggers an Emergency Pack | => No | |||||||||
2016-03-22 10:20 | aaroncalero | Relationship added | related to 0032482 | |||||||||
2016-04-06 11:27 | aaroncalero | Proposed Solution updated | ||||||||||
2016-04-06 11:28 | Orekaria | Status | new => acknowledged | |||||||||
2016-04-06 11:29 | Orekaria | Relationship replaced | blocks 0032482 | |||||||||
2016-04-06 18:49 | mario_castello | Assigned To | Retail => mario_castello | |||||||||
2016-04-11 17:23 | mario_castello | Status | acknowledged => scheduled | |||||||||
2016-04-12 17:37 | hgbot | Checkin | ||||||||||
2016-04-12 17:37 | hgbot | Note Added: 0085578 | ||||||||||
2016-04-12 17:37 | hgbot | Status | scheduled => resolved | |||||||||
2016-04-12 17:37 | hgbot | Resolution | open => fixed | |||||||||
2016-04-12 17:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d46f7f3695d8195bd3d3f3fe56a192f67f7d6269 [^] | |||||||||
2016-04-12 17:42 | mario_castello | Note Edited: 0085578 | bug_revision_view_page.php?bugnote_id=0085578#r11756 | |||||||||
2016-04-27 13:15 | marvintm | Review Assigned To | => marvintm | |||||||||
2016-04-27 13:15 | marvintm | Status | resolved => closed | |||||||||
2016-04-27 13:15 | marvintm | Fixed in Version | => RR16Q3 |
Notes | |||||
|
|||||
|
|