Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036629Retail ModulesWeb POSpublic2017-08-09 14:032017-09-22 14:09
jorge-garcia 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036629: The delete discount button is not shown if a line has at the same time automatic promotions and manual promotions
The delete discount button is not shown if a line has at the same time automatic promotions and manual promotions
1) Login in the webPOS.
2) Create a new ticket.
3) Add a Avalanche transceiver.
4) Go to the menu -> Receipt Discounts.
5) Add a new promotions to all lines.
6) The promotion is added and if you click the line, in the Edit tab, the button. of Delete Discount is shown. If clicked, a list of manual promotion is shown in a popup (This is OK).
7) Create a new ticket.
8) Search and add three Sun Cream + lip stick.
9) An automatic promotion is added.
10) Go and add a new promotion from Receipt Discounts.
11) Check both promotions are applied to the line.
12) If you click the line, in the Edit tab the button is not shown (this is WRONG).
In case a line has at least one line with a manual promotion (promotions added from Receipt Discounts), the button of Delete Discount must be shown in the Edit tab.

On clicked, the button must show the list of manual promotion included in the line and the possibility to delete them.
No tags attached.
Issue History
2017-08-09 14:03jorge-garciaNew Issue
2017-08-09 14:03jorge-garciaAssigned To => Retail
2017-08-09 14:03jorge-garciaTriggers an Emergency Pack => No
2017-09-20 15:14ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-09-20 15:15ranjith_qualiantech_comStatusnew => scheduled
2017-09-21 12:01hgbotCheckin
2017-09-21 12:01hgbotNote Added: 0099207
2017-09-21 12:01hgbotStatusscheduled => resolved
2017-09-21 12:01hgbotResolutionopen => fixed
2017-09-21 12:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aad4ee249a5d071bf07153e77e4ec358a5d6e97b [^]
2017-09-21 12:01hgbotCheckin
2017-09-21 12:01hgbotNote Added: 0099208
2017-09-22 14:09marvintmReview Assigned To => marvintm
2017-09-22 14:09marvintmStatusresolved => closed
2017-09-22 14:09marvintmFixed in Version => RR17Q4

Notes
(0099207)
hgbot   
2017-09-21 12:01   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: aad4ee249a5d071bf07153e77e4ec358a5d6e97b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 21 15:11:26 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/aad4ee249a5d071bf07153e77e4ec358a5d6e97b [^]

Fixed issue 36629 : Delete discount button should be shown if atleast one manual discount is present

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/editline.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/modals/modalDeleteDiscounts.js
---
(0099208)
hgbot   
2017-09-21 12:01   
Repository: tools/automation/pi-mobile
Changeset: da02bf49c0d0799798c0ca3a0582584a4522d26d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Sep 21 15:11:30 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/da02bf49c0d0799798c0ca3a0582584a4522d26d [^]

Verifies issue 36629 : Added automated test 'I36629_VerifyDeleteManualDiscounts'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I36629_VerifyDeleteManualDiscounts.java
---