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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051252
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 07. Sales managementmajoralways2022-12-28 11:032023-02-13 12:46
ReporterngarciaView Statuspublic 
Assigned ToRetail 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051252: Different behavior for "Included Characteristics: All of the values defined" discount configuration in the ERP and in POS

DescriptionDifferent behavior for "Included Characteristics: All of the values defined" discount configuration in the ERP and in POS
Steps To ReproduceIn the backoffice:
   Create a new record in Discounts And Promotions window
   Organization: *
   Discount/Promotion Type: Price Adjustment
   Included Characteristics: All of the values defined
   Discount %: 50

   Add two records in Include Characteristics tab:
      Characteristics: Brand, Characteristics Value: Lifesystems
      Characteristics: Brand, Characteristics Value: Poc

   Create a sales order
   Add Adhesive body warmers product that has characteristics to it
   Book it and check no discount is applied

In the POS:
   Create a receipt
   Add Adhesive body warmers product and check the discount is applied
Proposed SolutionFix the m_promotion_calculate function
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047572 closedranjith_qualiantech_com Retail Modules Discounts which include or exclude certain characteristic values are not working properly 
related to feature request 0027205 closedioritzCia Openbravo ERP Discounts and Promotions should be able to filter by product characteristics 
related to feature request 0043502 closednicola_uva Retail Modules Discounts characteristics filter should be improved for cases of multiple characteristic values to handle inclusion/exclusion 

-  Notes
(0145104)
hgbot (developer)
2022-12-30 17:12

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/801 [^]
(0145682)
hgbot (developer)
2023-01-20 10:27

Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/801 [^]
(0145683)
aferraz (manager)
2023-01-20 10:28

As per documentation, current behaviour is the correct one: http://wiki.openbravo.com/wiki/Retail:Discounts_and_Promotions_Rules [^]

Included Characteristics: All of the values defined

All of the values defined: For included characteristics, this means that all values need to be present for the product to be able to receive the discount. For excluded characteristics, this means that only if all of the values are present for the product, the discount will not be applied.

Any of the ones defined: For included characteristics, this means that if any of the values is present for the product, the discount can be applied. For excluded characteristics, this means that if one of the values is present in the product, then the discount will not be applied.
(0145687)
ngarcia (developer)
2023-01-20 12:22

Changed from ERP to POS then
(0146408)
marvintm (developer)
2023-02-13 07:57

After further review, actually the behavior in the POS is the intended one. There was a project done with the goal of implementing this behavior:

https://issues.openbravo.com/view.php?id=43502 [^]

Therefore, the unintended behavior actually happens in the back office. I'm also changing this to design defect, as we are currently not maintaining the discounts functionality in the back office flows.

- Issue History
Date Modified Username Field Change
2022-12-28 11:03 ngarcia New Issue
2022-12-28 11:03 ngarcia Assigned To => Triage Omni OMS
2022-12-28 11:03 ngarcia Modules => Core
2022-12-28 11:03 ngarcia Triggers an Emergency Pack => No
2022-12-28 12:33 aferraz Relationship added related to 0047572
2022-12-28 12:35 Practics Issue Monitored: Practics
2022-12-28 12:40 aferraz Relationship added related to 0027205
2022-12-28 12:45 aferraz Assigned To Triage Omni OMS => francisco_ofarril
2022-12-30 17:12 hgbot Note Added: 0145104
2023-01-20 10:27 hgbot Note Added: 0145682
2023-01-20 10:28 aferraz Review Assigned To => aferraz
2023-01-20 10:28 aferraz Note Added: 0145683
2023-01-20 10:28 aferraz Status new => closed
2023-01-20 10:28 aferraz Resolution open => no change required
2023-01-20 12:20 ngarcia Assigned To francisco_ofarril =>
2023-01-20 12:20 ngarcia Status closed => new
2023-01-20 12:20 ngarcia Resolution no change required => open
2023-01-20 12:20 ngarcia Project Openbravo ERP => Openbravo for Retail
2023-01-20 12:21 ngarcia Review Assigned To aferraz =>
2023-01-20 12:22 ngarcia Assigned To => Retail
2023-01-20 12:22 ngarcia Note Added: 0145687
2023-01-27 13:08 ngarcia Project Openbravo for Retail => Retail Modules
2023-01-27 13:08 ngarcia Category 07. Sales management => Web POS
2023-01-30 10:42 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-01-30 11:02 ranjith_qualiantech_com Relationship added related to 0043502
2023-02-13 07:57 marvintm Note Added: 0146408
2023-02-13 07:57 marvintm Type defect => design defect
2023-02-13 07:58 ranjith_qualiantech_com Assigned To ranjith_qualiantech_com => Retail
2023-02-13 12:45 ngarcia Project Retail Modules => Openbravo ERP
2023-02-13 12:46 ngarcia Category Web POS => 07. Sales management


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker