Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044934Retail ModulesWeb POSpublic2020-08-31 10:092020-09-10 09:42
kchoperena 
aferraz 
highmajoralways
closedfixed 
5
 
RR20Q4 
migueldejuana
No
0044934: Extract the warning message "Some discount information is ..." of ticketdiscount.js to an ad_message in order to be translatable
There is a warning message hardcoded in the ticketdiscount.js file.

Message: "Some discount information is missing, the promotion could not be applied:"

Extract this message to an AD_MESSAGE in order to allow translate the messages
1.- Log into the WebPOS
2·- Create a ticket and try to apply a discount with some missing information

EXPECTED RESULT:
A warning message should appear in the top of the screen ->
"Some discount information is missing, the promotion could not be applied: Discount amount"
No tags attached.
Issue History
2020-08-31 10:09kchoperenaNew Issue
2020-08-31 10:09kchoperenaAssigned To => Retail
2020-08-31 10:09kchoperenaResolution time => 1599688800
2020-08-31 10:09kchoperenaTriggers an Emergency Pack => No
2020-09-09 17:14migueldejuanaAssigned ToRetail => aferraz
2020-09-10 09:33hgbotResolutionopen => fixed
2020-09-10 09:33hgbotStatusnew => resolved
2020-09-10 09:33hgbotFixed in Version => RR20Q4
2020-09-10 09:33hgbotNote Added: 0122902
2020-09-10 09:39aferrazNote Added: 0122905
2020-09-10 09:42aferrazReview Assigned To => migueldejuana
2020-09-10 09:42aferrazStatusresolved => closed

Notes
(0122902)
hgbot   
2020-09-10 09:33   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: eb07a5887b9cf69df0f778e0818dc5d497cc8495
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 2020-09-10T09:03:16+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/eb07a5887b9cf69df0f778e0818dc5d497cc8495 [^]

Fixes ISSUE-44934: Make discount info missing warning message translatable

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ticketdiscount.js
---
(0122905)
aferraz   
2020-09-10 09:39   
MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/88 [^]