parent
596bbf55c7
commit
83079b66f6
|
@ -46,7 +46,7 @@
|
|||
<field name="purchase_invoice_method" invisible="1"/>
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_process']" position="after">
|
||||
<button name="create_draft_invoice" string="Receive & Control Invoice" attrs="{'invisible':[('purchase_invoice_method', '!=', 'picking')]}" type="object" class="oe_highlight"/>
|
||||
<button name="create_draft_invoice" string="Receive & Control Invoice" attrs="{'invisible':[('purchase_invoice_method', '=', 'manual')]}" type="object" class="oe_highlight"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue