2021-01-26 15:06:17 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2016-10-11 20:22:36 +02:00
|
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="email_compose_message_wizard_inherit_form">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field
|
|
|
|
name="name"
|
|
|
|
>mail.compose.message.form (mail_attach_existing_attachment)</field>
|
2016-10-11 20:22:36 +02:00
|
|
|
<field name="model">mail.compose.message</field>
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="inherit_id" ref="mail.email_compose_message_wizard_form" />
|
2016-10-11 20:22:36 +02:00
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='attachment_ids']" position="after">
|
2021-01-26 15:06:17 +01:00
|
|
|
<field name="can_attach_attachment" invisible="1" />
|
2016-10-11 20:22:36 +02:00
|
|
|
<div attrs="{'invisible': [('can_attach_attachment', '=', False)]}">
|
|
|
|
<br />
|
2021-01-26 15:06:17 +01:00
|
|
|
<field
|
|
|
|
name="object_attachment_ids"
|
|
|
|
widget="many2many_checkboxes"
|
|
|
|
domain="[('res_model', '=', model), ('res_id', '=', res_id)]"
|
|
|
|
/>
|
2016-10-11 20:22:36 +02:00
|
|
|
</div>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</odoo>
|