Openbravo Issue Tracking System - Retail Modules
View Issue Details
0058029Retail ModulesDiscounts and Promotionspublic2025-02-19 11:512025-03-14 09:34
hector_hernaez 
ranjith_qualiantech_com 
normalminoralways
closedfixed 
5
 
 
approved
No
121914
No
0058029: It is not possible to add characteristics in grid mode in a discount of Combo-Family type
Reproduced in https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql [^]

When a discount of type combo is created and we try to add any characteristic in grid mode, an error appears in the record
- Video attached reproducing the issue
https://drive.google.com/file/d/1xNwEOyvQQF6wZd6_Di6GWqAD7LMgsMea/view?usp=sharing [^]
- Create a Promotion of type Combo
- Add the Family Record
- Go to Included Characteristics
- Press Add row button
- Complete the fields
- Save the record
- An error will appear in the pencil next to the record
No tags attached.
Issue History
2025-02-19 11:51hector_hernaezNew Issue
2025-02-19 11:51hector_hernaezAssigned To => Retail
2025-02-19 11:51hector_hernaezOBNetwork customer => No
2025-02-19 11:51hector_hernaezSupport ticket => 121914
2025-02-19 11:51hector_hernaezTriggers an Emergency Pack => No
2025-02-19 12:26guillermogilAssigned ToRetail => Triage Platform Base
2025-02-19 12:27guillermogilNote Added: 0175885
2025-03-12 23:16AugustoMauchAssigned ToTriage Platform Base => Retail
2025-03-12 23:17AugustoMauchNote Added: 0176753
2025-03-13 08:54guilleaerAssigned ToRetail => guilleaer
2025-03-13 08:54guilleaerStatusnew => acknowledged
2025-03-13 08:56ranjith_qualiantech_comAssigned Toguilleaer => ranjith_qualiantech_com
2025-03-13 09:03ranjith_qualiantech_comStatusacknowledged => scheduled
2025-03-14 06:10hgbotMerge Request Status => open
2025-03-14 06:10hgbotNote Added: 0176813
2025-03-14 09:33hgbotMerge Request Statusopen => approved
2025-03-14 09:34hgbotResolutionopen => fixed
2025-03-14 09:34hgbotStatusscheduled => closed
2025-03-14 09:34hgbotNote Added: 0176830
2025-03-14 09:34hgbotNote Added: 0176831

Notes
(0175885)
guillermogil   
2025-02-19 12:27   
Assigned to platform as Form view is working fine
(0176753)
AugustoMauch   
2025-03-12 23:17   
Assigning back to retail. Even though it is possible to add the record in form view, it is not working properly (note that an error is raised in the console and the values are not properly initialized, i.e. active is false).

The problem seems to be that the parent property of this tab (family) is not included as a field in the Included/Excluded characteristic subtabs
(0176813)
hgbot   
2025-03-14 06:10   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/74 [^]
(0176830)
hgbot   
2025-03-14 09:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.combo [^]
Changeset: 15bbf8d399159c5b3aa91c304690532e39f034fc
Author: Ranjith S R <r.rangaraju@external.orisha.com>
Date: 14-03-2025 08:34:03
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/commit/15bbf8d399159c5b3aa91c304690532e39f034fc [^]

Fixed ISSUE-58029: Added organization and family field in family subtab

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0176831)
hgbot   
2025-03-14 09:34   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/74 [^]