Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0045123 | Retail Modules | Discounts and Promotions | public | 2020-09-23 12:59 | 2020-09-28 07:17 |
Reporter | sebastien_liron | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 30 | OS Version | Openbravo Appliance 14.04 | |
Product Version | RR20Q3.1 | ||||
Target Version | RR20Q3 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0045123: use of automatic promotion cause a crash if module discountmatrixmanagment is installed | ||||
Description | use of automatic promotion cause a crash if module discountmatrixmanagment is installed | ||||
Steps To Reproduce | have an env at 20q3 with discountmatrixmanagment module installed configure an automatic promotion on a product ( any kind ) connect to web pos Open a new ticket, add the auto promo product click on checkout -> error should appear | ||||
Proposed Solution | in hookRoleDiscount.js ( in the discountmatrixmanagement module ), line 143 : if ( OB.Model.Discounts.discountRules[promotion.discountType].isManual ) { should be something like : var discRule = OB.Model.Discounts.discountRules[promotion.discountType]; if ( discRule && discRule.isManual ) { | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-09-23 12:59 | sebastien_liron | New Issue | |||
2020-09-23 12:59 | sebastien_liron | Assigned To | => Retail | ||
2020-09-23 12:59 | sebastien_liron | Triggers an Emergency Pack | => No | ||
2020-09-23 15:48 | sebastien_liron | Resolution time | => 1602280800 | ||
2020-09-25 11:43 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2020-09-27 16:51 | ranjith_qualiantech_com | Status | new => scheduled | ||
2020-09-28 06:49 | marvintm | Severity | critical => major | ||
2020-09-28 06:54 | hgbot | Note Added: 0123403 | |||
2020-09-28 07:17 | hgbot | Resolution | open => fixed | ||
2020-09-28 07:17 | hgbot | Status | scheduled => closed | ||
2020-09-28 07:17 | hgbot | Note Added: 0123406 | |||
2020-09-28 07:17 | hgbot | Note Added: 0123407 |