Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052773Retail ModulesDiscounts and Promotionspublic2023-06-16 16:012023-06-26 08:43
axelmercado 
ranjith_qualiantech_com 
highmajoralways
closedduplicate 
5
 
 
open
guillermogil
OBPS
66628
No
0052773: Problems saving a new record in the 'Discounts and promotions' window if the 'Max qty' field is defined.
When trying to create a new discount/promotion and a maximum quantity is defined in it, an error is given when saving as the 'Priority Rule' field is not defined but is also not shown to be populated unless the flag 'Apply to products up to the max quantity' is activated.

This was added in the following FR: https://issues.openbravo.com/view.php?id=51402. [^]
Enter the 'Discounts and promotions' window, create a new record, fill in the 'Max qty' field with any value and try to save the record.
As it is known, the 'Priority Rule' field is mandatory in case you assign a maximum quantity, therefore the display logic of this field should be based on those cases and not be displayed only when the 'Apply to products up to the max quantity' flag is activated.
No tags attached.
duplicate of defect 0051751 closed sreehari Error message when not applying a rule with a maximum quantity 
has duplicate defect 0052772 closed Retail Problems saving a new record in the 'Discounts and promotions' window if the 'Max qty' field is defined. 
Issue History
2023-06-16 16:01axelmercadoNew Issue
2023-06-16 16:01axelmercadoAssigned To => Retail
2023-06-16 16:01axelmercadoOBNetwork customer => OBPS
2023-06-16 16:01axelmercadoSupport ticket => 66628
2023-06-16 16:01axelmercadoTriggers an Emergency Pack => No
2023-06-19 07:53marvintmRelationship addedhas duplicate 0052772
2023-06-19 12:45ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-06-19 14:23ranjith_qualiantech_comStatusnew => scheduled
2023-06-20 08:08hgbotMerge Request Status => open
2023-06-20 08:08hgbotNote Added: 0151339
2023-06-26 08:42hgbotNote Added: 0151617
2023-06-26 08:42guillermogilRelationship addedduplicate of 0051751
2023-06-26 08:43guillermogilReview Assigned To => guillermogil
2023-06-26 08:43guillermogilStatusscheduled => closed
2023-06-26 08:43guillermogilResolutionopen => duplicate

Notes
(0151339)
hgbot   
2023-06-20 08:08   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/915 [^]
(0151617)
hgbot   
2023-06-26 08:42   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/915 [^]