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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048125
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSminoralways2021-11-22 15:562021-12-02 18:59
ReporterjetxarriView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in VersionRR22Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048125: Create the logic define when a discount can apply or not a promotion regarding the promotion already applied logic

DescriptionCurrently, we can manage the application of discount with :
 - The priorities : this promotion is applied before another promotion
 - The checkbox “apply next discount” : this promotion will be the last promotion applied on the line or not

What it is not possible to manage is compatibility logic between discounts:
-p0 is applied

-p1 could be applied but is not compatible with p0 (so it is not applied)

-p2 is applied and it is compatible with all discounts


Steps To Reproduce-Define 2 generic discounts that they are always applied <-- P0
-Define priority <-- P1


We are not able to say to Web POS not to apply P1 if P0 is applied
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0133264)
hgbot (developer)
2021-11-22 20:04

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/462 [^]
(0133265)
hgbot (developer)
2021-11-22 20:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/633 [^]
(0133266)
hgbot (developer)
2021-11-22 20:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/43 [^]
(0133267)
hgbot (developer)
2021-11-22 20:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts/-/merge_requests/12 [^]
(0133447)
hgbot (developer)
2021-12-02 07:06

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/462 [^]
(0133448)
hgbot (developer)
2021-12-02 07:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/633 [^]
(0133449)
hgbot (developer)
2021-12-02 07:09

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/43 [^]
(0133450)
hgbot (developer)
2021-12-02 07:11

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts/-/merge_requests/12 [^]
(0133451)
marvintm (manager)
2021-12-02 07:14

This feature was implemented by the following MRs:

https://gitlab.com/openbravo/product/openbravo/-/merge_requests/462 [^]
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/633 [^]
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/43 [^]
https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts/-/merge_requests/12 [^]
(0133454)
hgbot (developer)
2021-12-02 07:53

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: afaa6d3430e8e257d50bbc79dbc19870683c039b
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 2021-12-02T07:53:02+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/afaa6d3430e8e257d50bbc79dbc19870683c039b [^]

Related to ISSUE-48125. Fixed eslint problem

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
---
(0133495)
marvintm (manager)
2021-12-02 18:59

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^] [^]
Changeset: 98b7ee7e983e98988ea9784e5e96ebc80250d08a
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 2021-12-02T11:13:54+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/98b7ee7e983e98988ea9784e5e96ebc80250d08a [^] [^]

Related to ISSUE-48028: Fixed license information of tests

---
M src-test/org/openbravo/retail/discounts/test/base/model/Incompatibility.java
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountPriceAdjusmentWithIncompatibilityTest.java
---

- Issue History
Date Modified Username Field Change
2021-11-22 15:56 jetxarri New Issue
2021-11-22 15:56 jetxarri Assigned To => Retail
2021-11-22 15:56 jetxarri Triggers an Emergency Pack => No
2021-11-22 20:04 hgbot Note Added: 0133264
2021-11-22 20:04 hgbot Note Added: 0133265
2021-11-22 20:04 hgbot Note Added: 0133266
2021-11-22 20:04 hgbot Note Added: 0133267
2021-12-02 07:06 hgbot Note Added: 0133447
2021-12-02 07:08 hgbot Note Added: 0133448
2021-12-02 07:09 hgbot Note Added: 0133449
2021-12-02 07:11 hgbot Note Added: 0133450
2021-12-02 07:12 marvintm Status new => scheduled
2021-12-02 07:12 marvintm Assigned To Retail => marvintm
2021-12-02 07:12 marvintm Type defect => feature request
2021-12-02 07:14 marvintm Note Added: 0133451
2021-12-02 07:14 marvintm Status scheduled => resolved
2021-12-02 07:14 marvintm Fixed in Version => RR22Q1
2021-12-02 07:14 marvintm Resolution open => fixed
2021-12-02 07:15 marvintm Review Assigned To => marvintm
2021-12-02 07:15 marvintm Status resolved => closed
2021-12-02 07:53 hgbot Note Added: 0133454
2021-12-02 18:59 marvintm Note Added: 0133495


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker