Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036520Retail ModulesWeb POSpublic2017-07-20 11:142017-08-11 11:20
nataliag 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036520: Discounts and promotions are not working after deleting a product from the assortment, cleaning cache and adding it again
Discounts and promotions are not working after deleting a product from the assortment, cleaning cache and adding it again
1- Go to "Discounts and promotions" window in backoffice and create a new register.
2- Select for example Price Adjustment as Discount type and let all the filter fields as "All excluding defined" unless "Included Products" with "Only those defined". In "Fixed Unit price" field set a value, for example, 25.
3- Then in Product tab add "Adhesive body warmers".
4- Now go to Assortment window and delete the "Adhesive body warmers" product from the list.
5- Clean the POS terminal cache and log in the terminal.
6- Again in assortment window of backoffice add the product "Adhesive body warmers"to the list.
7- In POS terminal press F5 to refresh the window.
9- Now, create a ticket and add "Adhesive body warmers" product. The discount is not applied. Only if you clean cache again and you log in the pos terminal, the discount appears.
No tags attached.
related to defect 0036411 closed ranjith_qualiantech_com Scaled Price discount not working after deleting a product from the assortment, cleaning cache and adding it again 
causes defect 0037125 closed ranjith_qualiantech_com Not apply discounts after incremental refresh. 
Issue History
2017-07-20 11:14nataliagNew Issue
2017-07-20 11:14nataliagAssigned To => Retail
2017-07-20 11:14nataliagResolution time => 1502316000
2017-07-20 11:14nataliagTriggers an Emergency Pack => No
2017-07-20 11:15nataliagRelationship addedrelated to 0036411
2017-07-20 12:11PracticsIssue Monitored: Practics
2017-07-26 08:30ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-07-26 08:31ranjith_qualiantech_comStatusnew => scheduled
2017-08-02 14:53hgbotCheckin
2017-08-02 14:53hgbotNote Added: 0098336
2017-08-02 14:53hgbotStatusscheduled => resolved
2017-08-02 14:53hgbotResolutionopen => fixed
2017-08-02 14:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b746c822a4e0a322fce0ce0fecb38bab00c2cfd9 [^]
2017-08-02 14:54hgbotCheckin
2017-08-02 14:54hgbotNote Added: 0098337
2017-08-09 11:20ranjith_qualiantech_comNote Added: 0098447
2017-08-09 11:20ranjith_qualiantech_comStatusresolved => new
2017-08-09 11:20ranjith_qualiantech_comResolutionfixed => open
2017-08-09 11:20ranjith_qualiantech_comStatusnew => scheduled
2017-08-11 08:29hgbotCheckin
2017-08-11 08:29hgbotNote Added: 0098479
2017-08-11 08:29hgbotStatusscheduled => resolved
2017-08-11 08:29hgbotResolutionopen => fixed
2017-08-11 08:29hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b746c822a4e0a322fce0ce0fecb38bab00c2cfd9 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a49daf3a5a2ef91bdaed046211fff416778e443b [^]
2017-08-11 11:20marvintmReview Assigned To => marvintm
2017-08-11 11:20marvintmStatusresolved => closed
2017-08-11 11:20marvintmFixed in Version => RR17Q4
2017-10-30 13:14dmitry_mezentsevRelationship addedcauses 0037125

Notes
(0098336)
hgbot   
2017-08-02 14:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: b746c822a4e0a322fce0ce0fecb38bab00c2cfd9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Aug 02 18:23:15 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b746c822a4e0a322fce0ce0fecb38bab00c2cfd9 [^]

Fixed issue 36520 : Updated incrementalUpdateCriteria validation for Discount and DiscountFilterProduct

---
M src/org/openbravo/retail/posterminal/master/Discount.java
M src/org/openbravo/retail/posterminal/master/DiscountFilterProduct.java
---
(0098337)
hgbot   
2017-08-02 14:54   
Repository: tools/automation/pi-mobile
Changeset: 837d79dea6a4d4e7ab0b0b9defa794216023232e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Aug 02 18:23:27 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/837d79dea6a4d4e7ab0b0b9defa794216023232e [^]

Verifies issue 36520 : Added automated test 'I36520_VerifyDiscountWithAssortmentProducts'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I36520_VerifyDiscountWithAssortmentProducts.java
---
(0098447)
ranjith_qualiantech_com   
2017-08-09 11:20   
Discount not loaded in following case
1) a discount with filter by a product is defined, and the product is added to the assortment, but the product is disabled
2) the web pos is loaded
3) the product is then enabled
4) the web pos is reloaded
(0098479)
hgbot   
2017-08-11 08:29   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a49daf3a5a2ef91bdaed046211fff416778e443b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Aug 11 11:59:06 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a49daf3a5a2ef91bdaed046211fff416778e443b [^]

Fixed issue 36520 : Updated incrementalUpdateCriteria validation for Discount and DiscountFilterProduct

---
M src/org/openbravo/retail/posterminal/master/Discount.java
M src/org/openbravo/retail/posterminal/master/DiscountFilterProduct.java
---