Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044239
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Discounts and Promotionsmajoralways2020-05-19 11:542020-06-02 08:20
Reportersanti_lozanoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR20Q2
StatusclosedFix in branchFixed in SCM revisioncfc818141029
ProjectionnoneETAnoneTarget VersionRR20Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - QA Approved
Regression date2019-10-30
Regression introduced in releaseRR20Q1
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8010727b12224ff5cd51931cdd6ba6b79cd2015a [^]
Triggers an Emergency PackNo
Summary

0044239: Override existing promotions overrides all lines

DescriptionOverride existing promotions overrides all discounts on lines of the ticket on Web POS instead of only the selected ones
This happens on 20Q1 and tip, but doesn't happen on 19Q4.4
As explained on the wiki the correct behavior is the previous one:
"Indicate if this discount will override existing promotions. If this field is checked, no more promotions will be applied to affected lines."
Steps To Reproduce1- Add first line with product "Adhesive body warmers"
2- Add second line with product "Alpine poles"
3- Go to menu "Receipt discounts"
4- Select discount disc_5_var_perc
5- Select first line, click "Override existing promotion" and apply
6- Review that the discount has been applied on the first line
7- Go to menu "Receipt discounts"
8- Select discount disc_5_var_perc
9- Select second line, click "Override existing promotion" and apply
10- Review that the discount has been applied on the second line but the discount on the first line has disappeared
Proposed SolutionThere was an issue related to this topic that could be the cause 42117
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0044100 closedranjith_qualiantech_com Override existing promotions overrides all lines 

-  Notes
(0120517)
hgbot (developer)
2020-06-02 08:16

Repository: retail/backports/3.0RR20Q2/org.openbravo.retail.posterminal
Changeset: cfc818141029bdb4552d734579167288df0b637e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 02 11:46:01 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q2/org.openbravo.retail.posterminal/rev/cfc818141029bdb4552d734579167288df0b637e [^]

Fixed issue-44239 : Added validation when applying discount with override option

* When applying discount with Override existing promotions,
  all manualpromotions should be removed for the selected line before applying new promotion
* When opening discount tab, "Override existing promotions" check box should not be checked by default

---
M web/org.openbravo.retail.posterminal/js/discountsengine/pos/pos-discounts.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ticketdiscount.js
---
(0120518)
hgbot (developer)
2020-06-02 08:16

Repository: retail/backports/3.0RR20Q2/pi-mobile
Changeset: 7b181931e03c9b1a72ce5c9fb5bc3c2c56096ced
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jun 01 05:42:26 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q2/pi-mobile/rev/7b181931e03c9b1a72ce5c9fb5bc3c2c56096ced [^]

Verifies issue 44239 : Added Automated Test I44239_VerifyManualDiscounts

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/splitline/SplitLineWithManualPromo2Combined.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I44239_VerifyManualDiscounts.java
---

- Issue History
Date Modified Username Field Change
2020-05-29 17:01 marvintm Type defect => backport
2020-05-29 17:01 marvintm Target Version => RR20Q2
2020-06-02 08:16 hgbot Checkin
2020-06-02 08:16 hgbot Note Added: 0120517
2020-06-02 08:16 hgbot Status scheduled => resolved
2020-06-02 08:16 hgbot Resolution open => fixed
2020-06-02 08:16 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR20Q2/org.openbravo.retail.posterminal/rev/cfc818141029bdb4552d734579167288df0b637e [^]
2020-06-02 08:16 hgbot Checkin
2020-06-02 08:16 hgbot Note Added: 0120518
2020-06-02 08:20 marvintm Review Assigned To => marvintm
2020-06-02 08:20 marvintm Status resolved => closed
2020-06-02 08:20 marvintm Fixed in Version => RR20Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker