Files
odoo_source/addons/account_peppol/wizard/account_move_send_views.xml
T
Gorash 774a3fad0e [REF] base,all: Update modifier syntax: view migration
Apply of the migration script to update all view modifiers.

Part-of: odoo/odoo#104741
2023-08-18 09:49:13 +02:00

28 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record model="ir.ui.view" id="account_move_send_inherit_account_peppol">
<field name="name">account.move.send.form.inherit.peppol</field>
<field name="model">account.move.send</field>
<field name="inherit_id" ref="account.account_move_send_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='warnings']" position="inside">
<field name="enable_peppol" invisible="1"/>
<div class="alert alert-warning" role="alert" invisible="not checkbox_send_peppol or not peppol_warning">
<field name="peppol_warning"/>
</div>
</xpath>
<xpath expr="//div[@name='option_send_mail']" position='after'>
<div name="option_peppol"
invisible="not enable_peppol">
<field name="checkbox_send_peppol"/>
<b>
<label for="checkbox_send_peppol"/>
</b>
</div>
</xpath>
</field>
</record>
</data>
</odoo>