Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051955Retail ModulesDiscounts and Promotionspublic2023-03-23 16:412023-09-08 07:58
Lcazaux 
gaboflash 
normalminoralways
closedfixed 
5
 
 
No
0051955: [Promo] - Client triggers - Hide String value when a field of type combo is selected
When creating a Promo with a CRM filter, when selecting a field of type Combo, the field “String value” is displayed.
It should be hidden as the only value to be selected for Combos is in the field CRM Connector Property Option.
Go to Back Office
- Create a new Discount and Promo type Price Adjustment
- Go to CRM sub tab
- Add any combo for example staff_card
--> An error message appears if we try to fill both "CRM Connector Property Option" and "String Value"
String Value field should be hidden as the only value to be selected for Combos is in the field CRM Connector Property Option
FASH
png 2023-03-23_16h36_14.png (173,617) 2023-03-23 16:41
https://issues.openbravo.com/file_download.php?file_id=18301&type=bug
png
Issue History
2023-03-23 16:41LcazauxNew Issue
2023-03-23 16:41LcazauxAssigned To => Retail
2023-03-23 16:41LcazauxFile Added: 2023-03-23_16h36_14.png
2023-03-23 16:41LcazauxTriggers an Emergency Pack => No
2023-03-23 16:41LcazauxTag Attached: FASH
2023-09-04 15:12guillermogilAssigned ToRetail => gaboflash
2023-09-06 07:11guillermogilStatusnew => scheduled
2023-09-07 00:11hgbotNote Added: 0154564
2023-09-08 07:58hgbotNote Added: 0154603
2023-09-08 07:58hgbotResolutionopen => fixed
2023-09-08 07:58hgbotStatusscheduled => closed
2023-09-08 07:58hgbotNote Added: 0154604

Notes
(0154564)
hgbot   
2023-09-07 00:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition/-/merge_requests/26 [^]
(0154603)
hgbot   
2023-09-08 07:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition/-/merge_requests/26 [^]
(0154604)
hgbot   
2023-09-08 07:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition [^]
Changeset: 87e8b62df75c02f82a6ead7f4f6d3d3d4d89c9f4
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 06-09-2023 18:08:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.discounts.propertycondition/-/commit/87e8b62df75c02f82a6ead7f4f6d3d3d4d89c9f4 [^]

Fixes ISSUE-51955: Updated display logic of String Value field in Discount and Promo/CRM subtab as it must be hidden if the selected CRM Connector Property has a Combo reference

---
M src-db/database/sourcedata/AD_FIELD.xml
---