Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043667Retail ModulesWeb POSpublic2020-04-06 07:242020-04-28 16:44
rafaroda 
ranjith_qualiantech_com 
highminoralways
closedfixed 
5
 
RR20Q2 
marvintm
No
0043667: Receipt Discounts popup should also use the Printed Name if any
To be aligned with issue 0043353, the Receipt Discountspopup should also use the Printed Name if any
In backoffice, see screenshot:
1) Set some Printed Name for the following manual discounts https://livebuilds.openbravo.com/retail_modules_pgsql_pi/?tabId=800079&criteria=%7B%22operator%22%3A%22and%22%2C%22_constructor%22%3A%22AdvancedCriteria%22%2C%22criteria%22%3A%5B%7B%22fieldName%22%3A%22name%22%2C%22operator%22%3A%22iContains%22%2C%22value%22%3A%22_5%22%2C%22_constructor%22%3A%22AdvancedCriteria%22%7D%5D%7D&emptyFilterClause=true [^]

In WebPOS:
1) Add a line to a ticket
2) Click on Discount button
3) Search for receipt discounts opening the Receipt Discounts popup: see screenshot attached

Name is always displayed, even if Printed Name exists.
If Printed Name exists for the promotion in Receipt Discounts popup, use it instead of the Name: use Name if Printed Name is not defined.

This will align all WebPOS promotions naming with the issue 0043353
NOR
related to defect 0043353 closed rqueralta Promotion name is being shown in the webpos instead of the printed name 
png Promotion Printed Name VS Name.png (340,235) 2020-04-06 07:24
https://issues.openbravo.com/file_download.php?file_id=14271&type=bug
Issue History
2020-04-06 07:24rafarodaNew Issue
2020-04-06 07:24rafarodaAssigned To => Retail
2020-04-06 07:24rafarodaFile Added: Promotion Printed Name VS Name.png
2020-04-06 07:24rafarodaTriggers an Emergency Pack => No
2020-04-06 07:24rafarodaRelationship addedrelated to 0043353
2020-04-06 07:25rafarodaTag Attached: NOR
2020-04-14 13:27AugustoMauchResolution time => 1588024800
2020-04-27 13:18ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-04-28 06:35hgbotCheckin
2020-04-28 06:35hgbotNote Added: 0119449
2020-04-28 08:42ranjith_qualiantech_comStatusnew => scheduled
2020-04-28 08:52hgbotCheckin
2020-04-28 08:52hgbotNote Added: 0119456
2020-04-28 08:52hgbotStatusscheduled => resolved
2020-04-28 08:52hgbotResolutionopen => fixed
2020-04-28 08:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e301169a2615b2ef92078a771a578a6390a2f88d [^]
2020-04-28 16:44marvintmReview Assigned To => marvintm
2020-04-28 16:44marvintmStatusresolved => closed
2020-04-28 16:44marvintmFixed in Version => RR20Q2

Notes
(0119449)
hgbot   
2020-04-28 06:35   
Repository: erp/pmods/org.openbravo.retail.discounts.category
Changeset: 1b55be2d70deb902b765b3cdba5e0fc1b24f3f7d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 28 10:05:24 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.category/rev/1b55be2d70deb902b765b3cdba5e0fc1b24f3f7d [^]

Related to issue-43667 : Discount Print Name should be shown in DiscountList

* While listing discounts, Print Name should be given higher priority than name

---
M web/org.openbravo.retail.discounts.category/js/discountsButton.js
---
(0119456)
hgbot   
2020-04-28 08:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e301169a2615b2ef92078a771a578a6390a2f88d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 28 12:21:07 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e301169a2615b2ef92078a771a578a6390a2f88d [^]

Fixed issue-43667 : Discount Print Name should be shown in DiscountList

* While listing discounts, Print Name should be given higher priority than name

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ticketdiscount.js
---