Files
enterprise-addons/l10n_co_edi/views/product_template_views.xml
T

18 lines
888 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="product_template_only_form_view_inherit_l10n_co_edi" model="ir.ui.view">
<field name="name">product.template.form.l10n_co_edi</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="account.product_template_form_view"/>
<field name="arch" type="xml">
<xpath expr="//group[@name='group_standard_price']" position="inside">
<field name="l10n_co_edi_brand" invisible="'CO' not in fiscal_country_codes"/>
<field name="l10n_co_edi_customs_code" invisible="'CO' not in fiscal_country_codes"/>
<field name="l10n_co_edi_ref_nominal_tax" invisible="'CO' not in fiscal_country_codes"/>
</xpath>
</field>
</record>
</data>
</odoo>