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

21 lines
886 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="account_move_form_inherit_l10n_co_edi_mandate" model="ir.ui.view">
<field name="name">account.move.form.inherit.l10n_co_edi_mandate</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="l10n_co_edi.invoice_form_inherit_l10n_co_edi"/>
<field name="arch" type="xml">
<xpath expr="//group[@id='header_left_group']" position="inside">
<field
name="l10n_co_dian_mandate_principal"
invisible="l10n_co_edi_operation_type != '11'"
required="l10n_co_edi_operation_type == '11'"
readonly="state != 'draft'"
/>
</xpath>
</field>
</record>
</data>
</odoo>