[FIX] purchase: do not allow creation on purchase.order.line
To match the behaviour on sale.order.line. Purchase line form is expected to be open in popup (where parent is defined), not individually when creating a line alone is not useful. Fixes #6644 Closes #12325
This commit is contained in:
parent
34eecbf4be
commit
35536b7206
|
@ -415,7 +415,7 @@
|
|||
<field name="name">purchase.order.line.form</field>
|
||||
<field name="model">purchase.order.line</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Purchase Order Line">
|
||||
<form string="Purchase Order Line" create="false">
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
|
|
Loading…
Reference in New Issue