I want to change the color of the gantt view in the workorders, but I don't know how I can change them. In the default setting it's showing a new color for every "production_id" because the gantt view has the tag (color="production_id").
In this gantt view there are a lot of "decorations" based on the state of the workorder.
Is there a way to define a new color for a specific state or to style the decorations larger then this default little triangle?
I want a new color that is filled the complete bar of the workorders based on the state.
<gantt class="o_mrp_workorder_gantt" date_stop="date_planned_finished" date_start="date_planned_start" string="Operations" default_group_by="workcenter_id" create="0" progress="progress" plan="0" decoration-danger="date_planned_start < current_date and state in ['pending', 'ready']" decoration-success="state == 'ready'" decoration-warning="state == 'cancel'" color="production_id">
Thank you
All about decorations in Odoo: https://learnopenerp.blogspot.com/2022/05/decorate-text-bold-italic-colors-field-in-tree-view-column-odoo-15.html