Files
enterprise-addons/l10n_mx_edi_landing/views/account_move_views.xml
T

14 lines
639 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.form.inherit.l10n.mx.edi.landing</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line_ids']/list[@name='journal_items']//field[@name='l10n_mx_edi_customs_number']" position="attributes">
<attribute name="readonly">l10n_mx_edi_can_use_customs_invoicing</attribute>
</xpath>
</field>
</record>
</odoo>