Debian Codegraph @

addons/l10n_my/views/product_template_view.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <odoo>
4 <record id="product_template_form_inherit_l10n_my" model="ir.ui.view">
5 <field name="name">product.template.form.inherit.l10n_my</field>
6 <field name="model">product.template</field>
7 <field name="inherit_id" ref="account.product_template_form_view"/>
8 <field name="arch" type="xml">
9 <xpath expr="//page[@name='general_information']/group/group[@name='group_standard_price']" position="inside">
10 <field name="l10n_my_tax_classification_code" invisible="'MY' not in fiscal_country_codes or type == 'service'"/>
11 <field name="l10n_my_tax_classification_code" string="Malaysian Service Type Code" invisible="'MY' not in fiscal_country_codes or type != 'service'"/>
12 </xpath>
13 </field>
14 </record>
15 </odoo>