Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040938Retail ModulesWeb POSpublic2019-05-22 17:502020-12-09 06:38
xabiermerino 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040938: Negative line if a Scaled prices is applied twice
If two scaled price are applied to one line, the line appears as negative. It should be 0.

1.- Configure two scaled price for Backpacks & Travel
Unit 1: 0%
Unit 2: 0%
Unit 3: 100%

2.- Create a ticket with three different products that belongs to Backpacks & Travle

3.- Pay the ticket

4.- Realize that the line is negative in backoffice
No tags attached.
related to defect 0041008 closed ranjith_qualiantech_com Negative price using promotions in different scenarios 
diff 40938_19Q3_ScaledPrice.diff (1,886) 2020-12-09 06:38
https://issues.openbravo.com/file_download.php?file_id=15146&type=bug
Issue History
2019-05-22 17:50xabiermerinoNew Issue
2019-05-22 17:50xabiermerinoAssigned To => Retail
2019-05-22 17:50xabiermerinoResolution time => 1559080800
2019-05-22 17:50xabiermerinoTriggers an Emergency Pack => No
2019-05-24 12:39ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-05-24 12:39ranjith_qualiantech_comStatusnew => scheduled
2019-05-27 08:11hgbotCheckin
2019-05-27 08:11hgbotNote Added: 0112143
2019-05-30 08:24ranjith_qualiantech_comStatusscheduled => resolved
2019-05-30 08:24ranjith_qualiantech_comResolutionopen => fixed
2019-06-03 11:34marvintmReview Assigned To => marvintm
2019-06-03 11:34marvintmStatusresolved => closed
2019-06-03 11:34marvintmFixed in Version => RR19Q3
2019-06-05 14:14ranjith_qualiantech_comRelationship addedrelated to 0041008
2020-12-09 06:38ranjith_qualiantech_comFile Added: 40938_19Q3_ScaledPrice.diff

Notes
(0112143)
hgbot   
2019-05-27 08:11   
Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: 1f24bc9dc3a982571fbd8e9f25ff29c0b26612df
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 27 11:40:45 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/1f24bc9dc3a982571fbd8e9f25ff29c0b26612df [^]

Related to issue 40938 : Discount should not be applied if line discountedPrice is less than zero

---
M web/org.openbravo.retail.discounts.scaledprice/js/scaledprice.js
---