Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045283Retail ModulesWeb POSpublic2020-10-22 14:422020-10-22 14:43
alostale 
Retail 
normalmajorhave not tried
newopen 
5
 
 
No
0045283: underscore dependency in discounts business logic
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 [^]
$ 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)
No tags attached.
related to feature request 0044980 closed adrianromero Business layer for retail 
Issue History
2020-10-22 14:42alostaleNew Issue
2020-10-22 14:42alostaleAssigned To => Retail
2020-10-22 14:42alostaleTriggers an Emergency Pack => No
2020-10-22 14:43alostaleRelationship addedrelated to 0044980

There are no notes attached to this issue.