1006003 - UI - add conditional styles for fields
Description
Environment
None
relates to
testing discovered
Activity
Carlos Ruiz January 8, 2020 at 3:18 PM
Carlos Ruiz
January 8, 2020 at 3:18 PM
Hi @Anand Maheshwari - I changed the style from:
background-color : yellow!important;
to
background-color : yellow;
And it works fine - so I think is about the wrong style.
Regards,
Carlos Ruiz

Anand Maheshwari January 8, 2020 at 2:23 PM
Anand Maheshwari
January 8, 2020 at 2:23 PM
I verified on https://test.idempiere.org/ and getting the same issue.
Works fine with Grid View
But when we open record for edit, CSS not get impacted
Carlos Ruiz January 8, 2020 at 1:24 PM
Carlos Ruiz
January 8, 2020 at 1:24 PM
Hi @Anand Maheshwari - please check if your finding is reproducible in latest version (you can check in the test sites). If it is you can check with community in forums with steps to reproduce the issue.

Anand Maheshwari January 8, 2020 at 11:56 AM
Anand Maheshwari
January 8, 2020 at 11:56 AM
After applying this patch, I am able to see css impact on Grid view only. When I open a record for edit css is not impacted.
Fixed
Details
Details
Assignee

Reporter
Priority
Created May 29, 2016 at 8:25 PM
Updated February 12, 2025 at 12:42 PM
Resolved May 30, 2016 at 8:42 PM
Sponsored by TrekGlobal here is the design:
Add a table AD_Style
Add AD_FieldStyle_ID and AD_LabelStyle_ID to AD_Field
Add the same in window customization so it can be modified for tenants
Add detail table AD_StyleAttribute with the following columns:
StyleString
DisplayLogic (if empty applies as default)
Theme (if empty applies as default)
Sequence (order of evaluation for display logic)