Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0045283 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | have not tried | 2020-10-22 14:42 | 2020-10-22 14:43 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0045283: underscore dependency in discounts business logic | |||||||||||
Description | promotion-manual.js in org.openbravo.retail.discounts which is included in Business Logic bundle continues depending on underscore. [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/blob/f3088341f91216b3f9286eac751ad37329a12d17/web/org.openbravo.retail.discounts/js/promotion-manual.js [^] | |||||||||||
Steps To Reproduce | $ find -name "*js" -type f | xargs grep "_\." ./web/org.openbravo.retail.discounts/js/promotion-manual.js: _.each(line.get('promotions'), function(p) { ./web/org.openbravo.retail.discounts/js/promotion-manual.js: oldDiscountedLinePrice = !_.isNull(line.get('discountedLinePrice')) ./web/org.openbravo.retail.discounts/js/promotion-manual.js: _.find(args.context.get('order').get('approvedList'), function(l) { ./web/org.openbravo.retail.discounts/js/promotion-manual.js: !_.contains(discountsToCheck, promotions[p].ruleId) | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2020-10-22 14:42 | alostale | New Issue | |
2020-10-22 14:42 | alostale | Assigned To | => Retail |
2020-10-22 14:42 | alostale | Triggers an Emergency Pack | => No |
2020-10-22 14:43 | alostale | Relationship added | related to 0044980 |
Copyright © 2000 - 2009 MantisBT Group |