Commit 23a005a
committed
[FIX] data_bar_rule_editor: disable "No Color" button
This PR introduces two changes:
1. Fixes a traceback error in the Conditional Formatting Databar
editor by hiding the "Reset" button when not applicable.
2. Prevents errors by validating color input earlier to avoid empty
string parsing issues.
closes #5191
Task: 4102704
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>1 parent c8af9e9 commit 23a005a
2 files changed
Lines changed: 5 additions & 0 deletions
File tree
- src/components/side_panel/conditional_formatting/cf_editor
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
566 | 570 | | |
567 | 571 | | |
568 | 572 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments