[FIX] stock: colors in tree view
Missing part from e28e01a
Closes #6785
This commit is contained in:
parent
fe3835faff
commit
a55a768d61
|
@ -8,7 +8,7 @@
|
|||
<field name="inherit_id" ref="product.product_product_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<tree position="attributes">
|
||||
<attribute name="colors">{'red':virtual_available<0, 'blue':virtual_available>=0 and state in ('draft', 'end', 'obsolete'), 'black':virtual_available>=0 and state not in ('draft', 'end', 'obsolete')}</attribute>
|
||||
<attribute name="colors">red:virtual_available<0;blue:virtual_available>=0 and state in ('draft', 'end', 'obsolete');black:virtual_available>=0 and state not in ('draft', 'end', 'obsolete')</attribute>
|
||||
</tree>
|
||||
<field name="price" position="after">
|
||||
<field name="qty_available"/>
|
||||
|
|
Loading…
Reference in New Issue