Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043374Retail ModulesDiscounts and Promotionspublic2020-02-28 13:092020-03-06 11:59
Leyre 
rqueralta 
highmajoralways
closedfixed 
5
 
RR20Q2 
guilleaer
No
0043374: It is not possible to apply a discount, using the scale of POS Hardware Manager
POSHardwareManager
Backend:
1. Set the Preference "Web POS Use advanced discounts engine" = N

2. "Product" window -> for example "Alpine Poles" -> is Scale = true

3. In the "Channel Touchpoint" window:
   3.1 Scale url = http://localhost:8090/scale [^]
   3.2 Hardware url = http://localhost:8090/printer [^]

Scale in POS Hardware Manager:
1. Current weight = for example 0.257 (see POSHardwareManager.png)

Web POS:
1. Add the following products: All mountain ski board Cham, Alpine skiing backpack and Alpine Poles.

2. Try to add the "disc_5_var_perc-5%"

Verify that the screen shows an error (see issue_scale.png)
No tags attached.
related to defect 0043464 closed prakashmurugesan88 "Line Total" is not calculated correctly when the discounts are added to a product with quantity with decimals. 
png issue_scale.png (707,443) 2020-02-28 13:09
https://issues.openbravo.com/file_download.php?file_id=14112&type=bug
png POSHardwareManager.png (21,928) 2020-02-28 13:09
https://issues.openbravo.com/file_download.php?file_id=14113&type=bug
png
Issue History
2020-02-28 13:09LeyreNew Issue
2020-02-28 13:09LeyreAssigned To => Retail
2020-02-28 13:09LeyreFile Added: issue_scale.png
2020-02-28 13:09LeyreResolution time => 1584658800
2020-02-28 13:09LeyreTriggers an Emergency Pack => No
2020-02-28 13:09LeyreFile Added: POSHardwareManager.png
2020-03-04 23:21rqueraltaAssigned ToRetail => rqueralta
2020-03-04 23:21rqueraltaStatusnew => scheduled
2020-03-05 13:46hgbotCheckin
2020-03-05 13:46hgbotNote Added: 0118344
2020-03-05 13:46hgbotStatusscheduled => resolved
2020-03-05 13:46hgbotResolutionopen => fixed
2020-03-05 13:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f406f8d39b79599bee9cdeab21b0a442462692f4 [^]
2020-03-06 11:59guilleaerReview Assigned To => guilleaer
2020-03-06 11:59guilleaerStatusresolved => closed
2020-03-06 11:59guilleaerFixed in Version => RR20Q2
2020-03-10 11:33LeyreRelationship addedrelated to 0043464

Notes
(0118344)
hgbot   
2020-03-05 13:46   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f406f8d39b79599bee9cdeab21b0a442462692f4
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Mar 04 17:22:01 2020 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f406f8d39b79599bee9cdeab21b0a442462692f4 [^]

Fixed BUG-43374: It is not possible to apply a discount, using the scale of POS
Hardware Manager

- Checked if the lineProm object is not null to avoid error when it is null or
undefined

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---