fix in sale_views, field/action read_price --> 'readonly':[('from_designbox','=',True)]
							parent
							
								
									d460f18ea0
								
							
						
					
					
						commit
						0a74cf9ed8
					
				|  | @ -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> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue