Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044678Retail ModulesWeb POSpublic2020-07-23 17:252020-08-10 11:58
collazoandy4 
ranjith_qualiantech_com 
highmajorhave not tried
closedfixed 
5
 
RR20Q4 
No
0044678: A warning message is shown if the discount selected has no amount defined
When a discount has no amount defined a warning message is shown when the discount is selected before the user can set the amount
As White Valley Admin Role:
  Go to Discount and Promotion windows and select Insect repellent 10 EUR Discount record
    Remove the value in Discounted Amount field and save the record

Log in VBS-1 Pos terminal
  Add Insect repellent product
  Click on Discount button
    Click on Receipt Discount
    In the popup opened select Insect repellent 10 EUR Discount record
  Check a warning message is shown 'Some discount information is missing, the promotion could not be applied: Discount amount'
  Set a value of 20 click on Apply to all lines and Click Apply button and check the discount line is added in the the receipt line
Add a new validation in ticketdiscount.js to avoid show the unnecesary warning message after the discount is selected in the popup.
No tags attached.
patch org.openbravo.retail.posterminal.patch (3,225) 2020-07-23 17:25
https://issues.openbravo.com/file_download.php?file_id=14813&type=bug
patch org.openbravo.retail.discounts.category.patch (1,148) 2020-07-23 17:26
https://issues.openbravo.com/file_download.php?file_id=14814&type=bug
Issue History
2020-07-23 17:25collazoandy4New Issue
2020-07-23 17:25collazoandy4Assigned To => Retail
2020-07-23 17:25collazoandy4File Added: org.openbravo.retail.posterminal.patch
2020-07-23 17:25collazoandy4Triggers an Emergency Pack => No
2020-07-23 17:26collazoandy4File Added: org.openbravo.retail.discounts.category.patch
2020-07-27 10:41kchoperenaResolution time => 1596405600
2020-07-27 10:41kchoperenaPrioritynormal => high
2020-07-30 13:30ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-08-03 08:08ranjith_qualiantech_comStatusnew => scheduled
2020-08-09 17:03hgbotNote Added: 0121923
2020-08-10 11:58hgbotResolutionopen => fixed
2020-08-10 11:58hgbotStatusscheduled => closed
2020-08-10 11:58hgbotFixed in Version => RR20Q4
2020-08-10 11:58hgbotNote Added: 0121940
2020-08-10 11:58hgbotNote Added: 0121941

Notes
(0121923)
hgbot   
2020-08-09 17:03   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/51 [^]
(0121940)
hgbot   
2020-08-10 11:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 51da0a0a6dfa3ba34c33f524cb6fa69dfea276c7
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-08-10T09:57:56+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/51da0a0a6dfa3ba34c33f524cb6fa69dfea276c7 [^]

Fixed ISSUE-44678: Amount should not be validated when seleting Variable discount
* When selecting variable amount discount without amt defined, warning message should not be shown because user may add the amount after selecting the discount

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ticketdiscount.js
---
(0121941)
hgbot   
2020-08-10 11:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/51 [^]