1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_pe_edi/views/product_views.xml
2024-12-10 09:04:09 +07:00

14 lines
694 B
XML

<odoo>
<record id="product_template_form_inherit_l10n_pe_edi" model="ir.ui.view">
<field name="name">product.template.form.inherit.l10n_pe_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="//field[@name='taxes_id']" position="after">
<field name="l10n_pe_withhold_code" invisible="'PE' not in fiscal_country_codes"/>
<field name="l10n_pe_withhold_percentage" invisible="'PE' not in fiscal_country_codes or not l10n_pe_withhold_code"/>
</xpath>
</field>
</record>
</odoo>