|
|
@ -0,0 +1,19 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<odoo> |
|
|
|
<record id="account_invoice_send_wizard_form" model="ir.ui.view"> |
|
|
|
<field name="name">Send Invoice</field> |
|
|
|
<field name="model">account.invoice.send</field> |
|
|
|
<field name="inherit_id" ref="account.account_invoice_send_wizard_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<xpath expr="//field[@name='attachment_ids']" position="after"> |
|
|
|
<field name="model" invisible="1"/> |
|
|
|
<field name="res_id" invisible="1"/> |
|
|
|
<field name="can_attach_attachment" invisible="1"/> |
|
|
|
<div attrs="{'invisible': [('can_attach_attachment', '=', False)]}"> |
|
|
|
<br /> |
|
|
|
<field name="object_attachment_ids" widget="many2many_checkboxes" domain="[('res_model', '=', model), ('res_id', '=', res_id)]" /> |
|
|
|
</div> |
|
|
|
</xpath> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
</odoo> |