[FIX] purchase: purchase.order.form: load field used in domains
There was a traceback when opening the purchase.order model in form view as the
field 'invoiced' is used in domains, but has been removed from the template at
rev. eace69d07d.
This commit is contained in:
@@ -280,6 +280,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="invoice_method"/>
|
||||
<field name="invoiced" invisible="1"/>
|
||||
<field name="payment_term_id" options="{'no_open': True, 'no_create': True}"/>
|
||||
<field name="fiscal_position_id" attrs="{'readonly': [('invoiced','=', True)]}" />
|
||||
<!-- We do not need these fields anymore, the information is in open chatter -->
|
||||
|
||||
Reference in New Issue
Block a user