9 lines
618 B
XML
9 lines
618 B
XML
<data inherit_id="account.view_move_form" priority="50">
|
|
<xpath expr="//button[@name='action_invoice_sent'][1]" position="attributes">
|
|
<attribute name="attrs"> {'invisible':['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', True), ('move_type', 'not in', ('out_invoice'))]}</attribute>
|
|
</xpath>
|
|
<xpath expr="//button[@name='action_invoice_sent'][2]" position="attributes">
|
|
<attribute name="attrs">{'invisible':['|', '|', ('state', '!=', 'posted'), ('is_move_sent', '=', False), ('move_type', 'not in', ('out_invoice', 'in_invoice', 'in_refund'))]}</attribute>
|
|
</xpath>
|
|
</data>
|