fix in sale_views, field/action read_price --> 'readonly':[('from_designbox','=',True)]

develop
Andreas Osim 2019-02-21 15:08:20 +01:00
parent d460f18ea0
commit 0a74cf9ed8
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@
</xpath>
-->
<xpath expr="//field[@name='order_line']/tree//field[@name='price_unit']" position="after">
<field name="read_price" options='{"bg_color": "yellow:price_change" }' attrs="{'invisible': False}"/>
<field name="read_price" options='{"bg_color": "yellow:price_change" }' attrs="{'invisible': False,'readonly':[('from_designbox','=',True)]}"/>
<!-- <field name="read_price" colors="yellow:price_change==True"/> -->
<field name="price_change" invisible="1"/>
</xpath>