social/mail_preview_base/views/ir_attachment_view.xml
Víctor Martínez a5709e6635 [MIG] mail_preview_base: Migration to 14.0
Co-authored-by: Enric Tobella <etobella@creublanca.es>
2022-02-02 11:28:09 +05:30

14 lines
522 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_attachment_form_mail_preview_base" model="ir.ui.view">
<field name="model">ir.attachment</field>
<field name="inherit_id" ref="base.view_attachment_form" />
<field name="priority">99</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='datas']" position="attributes">
<attribute name="widget">preview_binary</attribute>
</xpath>
</field>
</record>
</odoo>