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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044240
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 VersionRR20Q1.2
StatusclosedFix in branchFixed in SCM revision74cc6f930f80
ProjectionnoneETAnoneTarget VersionRR20Q1.2
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

0044240: 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
(0120515)
hgbot (developer)
2020-06-02 08:15

Repository: retail/backports/3.0RR20Q1.2/org.openbravo.retail.posterminal
Changeset: 74cc6f930f805d846e087608b8953bf82051c5a4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 02 11:45:15 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q1.2/org.openbravo.retail.posterminal/rev/74cc6f930f805d846e087608b8953bf82051c5a4 [^]

Fixed issue-44240 : 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
---
(0120516)
hgbot (developer)
2020-06-02 08:15

Repository: retail/backports/3.0RR20Q1.2/pi-mobile
Changeset: 86210298b269f6f2d128893bacebac0204156484
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.0RR20Q1.2/pi-mobile/rev/86210298b269f6f2d128893bacebac0204156484 [^]

Verifies issue 44240 : Added Automated Test I44240_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/I44240_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 => RR20Q1.2
2020-06-01 17:08 Practics Issue Monitored: Practics
2020-06-02 08:15 hgbot Checkin
2020-06-02 08:15 hgbot Note Added: 0120515
2020-06-02 08:15 hgbot Status scheduled => resolved
2020-06-02 08:15 hgbot Resolution open => fixed
2020-06-02 08:15 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR20Q1.2/org.openbravo.retail.posterminal/rev/74cc6f930f805d846e087608b8953bf82051c5a4 [^]
2020-06-02 08:15 hgbot Checkin
2020-06-02 08:15 hgbot Note Added: 0120516
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 => RR20Q1.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker