58
58
<field name="real_stock" />
59
59
<field name="available_stock" />
60
60
<field name="virtual_stock" />
61
<field name="supplier" colspan="2" context="{'product_id': product_id, 'choose_supplier': True}" attrs="{'readonly': ['|', ('type', '=', 'make_to_stock'), ('state', '!=', 'draft')]}"
63
attrs="{'readonly': ['|', ('type', '=', 'make_to_stock'), ('state', '!=', 'draft')]}"
62
64
on_change="onChangeSupplier(supplier)" />
63
65
<field name="estimated_delivery_date" />
64
66
<button name="confirmLine" string="Confirm line" icon="gtk-go-forward" type="object" attrs="{'invisible':[('state', '!=', 'draft')]}" />