[IMP] stock_delivery_planner: per column coloring

This commit is contained in:
Jared Kipe
2021-09-23 07:38:16 -07:00
committed by Leo Pinedo
parent 6a06156267
commit 21ef529969

View File

@@ -8,21 +8,19 @@
<form>
<field name="packages_planned" invisible="1" />
<group>
<field name="plan_option_ids" nolabel="1" >
<tree decoration-success="days_different &lt; 0.0 and not selection"
decoration-danger="days_different &gt; 0.0 and not selection"
decoration-info="selection == 'selected'"
<field name="plan_option_ids" nolabel="1">
<tree decoration-info="selection == 'selected'"
decoration-muted="selection == 'deselected'"
default_order="package_id, price"
create="false" edit="false" delete="false">
<field name="package_id"/>
<field name="carrier_id"/>
<field name="date_planned" invisible="1"/>
<field name="requested_date"/>
<field name="transit_days"/>
<field name="sale_requested_date"/>
<field name="days_different"/>
<field name="price"/>
<field name="package_id" />
<field name="carrier_id" />
<field name="date_planned" invisible="1" />
<field name="requested_date" decoration-danger="days_different &gt; 1.0" decoration-warning="days_different &gt; 0.0" decoration-success="days_different &lt; 0.0" />
<field name="transit_days" decoration-warning="transit_days > 2.0" decoration-success="transit_days == 1.0"/>
<field name="sale_requested_date" decoration-danger="days_different &gt; 1.0" decoration-warning="days_different &gt; 0.0" decoration-success="days_different &lt; 0.0" />
<field name="days_different" decoration-danger="days_different &gt; 1.0" decoration-warning="days_different &gt; 0.0" decoration-success="days_different &lt; 0.0" />
<field name="price" decoration-success="price &lt; 10.99" decoration-warning="price > 31.00 and price &lt; 50.00" decoration-danger="price >= 50.00" />
<field name="selection" invisible="1" />
<button class="eo_highlight"
name="select_plan"