Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046857Retail ModulesDiscounts and Promotionspublic2021-05-27 09:062021-06-02 08:21
guillermogil 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR21Q3 
No
0046857: It is not possible to add a discount for a GC
It is not possible to add a discount for a GC from the keyboard button.
A popup raises saying that "This line cannot be edited"
Login on Livebuilds with modules
Add a GC Infinite
Click discounts button from the keyboard
The popup raises -> Wrong behaviour

Add a different product (e.g.- Avalanche Transceiver)
Go to the menu
Click Receipt Discounts

You can add a discount to the GC
Review why the following logic is needed:
        if (selectedReceiptLine.get('product').get('isEditableQty') === false) {
          view.doShowPopup({
            popup: 'modalNotEditableLine'
          });
          return;
        }
No tags attached.
Issue History
2021-05-27 09:06guillermogilNew Issue
2021-05-27 09:06guillermogilAssigned To => Retail
2021-05-27 09:06guillermogilResolution time => 1623276000
2021-05-27 09:06guillermogilTriggers an Emergency Pack => No
2021-05-28 23:37rqueraltaAssigned ToRetail => rqueralta
2021-06-01 05:08hgbotNote Added: 0128827
2021-06-02 08:21hgbotResolutionopen => fixed
2021-06-02 08:21hgbotStatusnew => closed
2021-06-02 08:21hgbotNote Added: 0128918
2021-06-02 08:21hgbotFixed in Version => RR21Q3
2021-06-02 08:21hgbotNote Added: 0128919

Notes
(0128827)
hgbot   
2021-06-01 05:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/443 [^]
(0128918)
hgbot   
2021-06-02 08:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/443 [^]
(0128919)
hgbot   
2021-06-02 08:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7013299fcdac127a4723e920532d3cf249cfd296
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-06-02T06:21:33+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7013299fcdac127a4723e920532d3cf249cfd296 [^]

Fixed BUG-46857: Removed unnecessary logic

---
M web/org.openbravo.retail.posterminal/js/actions/discount.js
---