Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0042286 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | always | 2019-11-15 10:08 | 2019-12-02 09:00 | |||
Reporter | samuel_nicuesa | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR20Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7cd4c382c64d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 12879 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0042286: Javascript error using Buy X pay Y of different product discount | |||||||
Description | Javascript error using Buy X pay Y of different product discount and Distribute Between Lines flag is active. The Old discount engine should be active. Web POS Use advanced discounts engine = true; | |||||||
Steps To Reproduce | [BO] -Configure the preference Web POS Use advanced discounts engine = N -Configure Discount Buy X pay Y of different product - Distribute Between Lines = active [POS] -Add some promotion product, the promotion will be added in the ticket. -Add a MANUAL discount to the ticket : disc5_var_perc -5% -You will see a Javascript error, It is happening because the amt for the first promotion is undefined. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0115780) hgbot (developer) 2019-11-23 14:33 |
Repository: erp/pmods/org.openbravo.retail.discounts Changeset: 7cd4c382c64d3f316faeaaaf2da1ab22e36400df Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Tue Nov 19 22:14:57 2019 -0500 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/7cd4c382c64d3f316faeaaaf2da1ab22e36400df [^] Fixed issue 42286: Javascript error using Buy X pay Y of different product discount - Take into account the actualAmt value to prevent errors when the amt value is undefined --- M web/org.openbravo.retail.discounts/js/promotion-manual.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-11-15 10:08 | samuel_nicuesa | New Issue | |
2019-11-15 10:08 | samuel_nicuesa | Assigned To | => Retail |
2019-11-15 10:08 | samuel_nicuesa | OBNetwork customer | => Gold |
2019-11-15 10:08 | samuel_nicuesa | Support ticket | => 12879 |
2019-11-15 10:08 | samuel_nicuesa | Resolution time | => 1575586800 |
2019-11-15 10:08 | samuel_nicuesa | Triggers an Emergency Pack | => No |
2019-11-15 10:12 | samuel_nicuesa | File Added: 42286_JSError.png | |
2019-11-15 10:12 | samuel_nicuesa | File Added: 42286_amtValue.png | |
2019-11-18 15:06 | rqueralta | Assigned To | Retail => rqueralta |
2019-11-18 15:06 | rqueralta | Status | new => scheduled |
2019-11-23 14:33 | hgbot | Checkin | |
2019-11-23 14:33 | hgbot | Note Added: 0115780 | |
2019-11-23 14:33 | hgbot | Status | scheduled => resolved |
2019-11-23 14:33 | hgbot | Resolution | open => fixed |
2019-11-23 14:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/7cd4c382c64d3f316faeaaaf2da1ab22e36400df [^] |
2019-12-02 09:00 | guilleaer | Review Assigned To | => guilleaer |
2019-12-02 09:00 | guilleaer | Status | resolved => closed |
2019-12-02 09:00 | guilleaer | Fixed in Version | => RR20Q1 |
Copyright © 2000 - 2009 MantisBT Group |