stock_usability: add colors in inventory tree view
This commit is contained in:
@@ -361,6 +361,10 @@ should be able to access it. So I add a menu entry under Inventory Control. -->
|
||||
<field name="date" position="after">
|
||||
<field name="location_id" groups="stock.group_stock_multi_locations"/>
|
||||
</field>
|
||||
<tree position="attributes">
|
||||
<attribute name="decoration-info">state == 'draft'</attribute>
|
||||
<attribute name="decoration-warning">state == 'confirm'</attribute>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user