Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051751Retail ModulesDiscounts and Promotionspublic2023-03-01 18:362023-06-23 07:37
Lcazaux 
sreehari 
highmajoralways
closedfixed 
5
 
 
approved
Gold
No
0051751: Error message when not applying a rule with a maximum quantity
1/ In discount&promo, when entering a “max quantity”, and when the field “Apply to products up to the max quantity” = N → error message saying it is mandatory to check it and apply a rule.



2/ The phrase “Apply to products up to the maximum quantity” could be confusing since it works in reverse. For now:

“Apply to products up to the maximum quantity” = Y → applies the discount even if it exceeds the maximum

“Apply to products up to the maximum quantity” = N → does not apply the discount at all if it exceeds the maximum
- Go to backoffice
- create a new record in Discount&Promo
- Configure a Price adjustment type normaly and enter a "max quantity"
- Save without checking the “Apply to products up to the maximum quantity” box
--> error message
1/ It should be possible to have this field to =N when entering a max quantity

2/ A clearer field could be used to avoid any confusion with this type of configuration.
FASH
has duplicate defect 0052773 closed ranjith_qualiantech_com Problems saving a new record in the 'Discounts and promotions' window if the 'Max qty' field is defined. 
Issue History
2023-03-01 18:36LcazauxNew Issue
2023-03-01 18:36LcazauxAssigned To => Retail
2023-03-01 18:36LcazauxOBNetwork customer => Gold
2023-03-01 18:36LcazauxTriggers an Emergency Pack => No
2023-03-01 18:36LcazauxTag Attached: FASH
2023-05-17 11:33sreehariAssigned ToRetail => sreehari
2023-05-17 11:33sreehariStatusnew => scheduled
2023-05-19 11:00hgbotMerge Request Status => open
2023-05-19 11:00hgbotNote Added: 0149968
2023-06-23 07:37hgbotMerge Request Statusopen => approved
2023-06-23 07:37hgbotResolutionopen => fixed
2023-06-23 07:37hgbotStatusscheduled => closed
2023-06-23 07:37hgbotFixed in Version => PR23Q3
2023-06-23 07:37hgbotNote Added: 0151532
2023-06-23 07:37hgbotNote Added: 0151533
2023-06-26 08:42guillermogilRelationship addedhas duplicate 0052773

Notes
(0149968)
hgbot   
2023-05-19 11:00   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/887 [^]
(0151532)
hgbot   
2023-06-23 07:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 996d1f7c4c8be1025b1c7644c72dfee3645790c2
Author: Sreehari Venkataraman <sreehari@qualiantech.com>
Date: 22-06-2023 09:18:19
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/996d1f7c4c8be1025b1c7644c72dfee3645790c2 [^]

Fixes ISSUE-51751: Added Apply to product condition

---
M src/org/openbravo/event/PriceAdjustmentHandler.java
---
(0151533)
hgbot   
2023-06-23 07:37   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/887 [^]