Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041219Retail ModulesWeb POSpublic2019-07-02 11:202019-07-18 14:58
xabiermerino 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR19Q4 
adrianromero
No
0041219: The information of a promotion is not saved in the ticket if the discount is 0
For example, I configure a Scaled Price for a product category:
Unit 1: 0%
Unit 2: 70%

Ticket:
Product A --> 0%
Product B --> 70%

And I want to show this information in the ticket template. It is not possible because the information is not saved for the product A
1.- Configure a scaled price promotion for a category
Unit 1: 0%
Unit 2: 70%

2.- Create a ticket with two different products of this promotion

3.- Realize that the information of the promotion appears for the second prroduct but not for the first one. It has necessary to show the real promotion.
No tags attached.
related to defect 0041008 closed ranjith_qualiantech_com Negative price using promotions in different scenarios 
Issue History
2019-07-02 11:20xabiermerinoNew Issue
2019-07-02 11:20xabiermerinoAssigned To => Retail
2019-07-02 11:20xabiermerinoResolution time => 1562623200
2019-07-02 11:20xabiermerinoTriggers an Emergency Pack => No
2019-07-03 23:28rqueraltaAssigned ToRetail => rqueralta
2019-07-03 23:29rqueraltaStatusnew => scheduled
2019-07-05 11:51hgbotCheckin
2019-07-05 11:51hgbotNote Added: 0113201
2019-07-05 11:51hgbotStatusscheduled => resolved
2019-07-05 11:51hgbotResolutionopen => fixed
2019-07-05 11:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/b00fa0be1cf9b383e5549a4a4eb27417df508093 [^]
2019-07-11 11:07adrianromeroReview Assigned To => adrianromero
2019-07-11 11:07adrianromeroNote Added: 0113269
2019-07-11 11:07adrianromeroStatusresolved => closed
2019-07-11 11:07adrianromeroFixed in Version => RR19Q4
2019-07-12 13:50umartirenaNote Added: 0113333
2019-07-18 14:58ranjith_qualiantech_comRelationship addedrelated to 0041008

Notes
(0113201)
hgbot   
2019-07-05 11:51   
Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: b00fa0be1cf9b383e5549a4a4eb27417df508093
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Jul 03 18:38:34 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/b00fa0be1cf9b383e5549a4a4eb27417df508093 [^]

Fixed issue 41219: The information of a promotion is not saved in the ticket if
the discount is 0

- Removed hidden property in applied discount to show discounts whith value = 0

---
M web/org.openbravo.retail.discounts.scaledprice/js/scaledprice.js
---
(0113269)
adrianromero   
2019-07-11 11:07   
Verified
(0113333)
umartirena   
2019-07-12 13:50   
Is there any missing changeset to be added in this issue? The fix it affects only scaledprice module, but this is a generic issue to all promotions. Could you please review?