addons/l10n_in/views/uom_uom_views.xml
raw| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <record id="product_uom_form_view_inherit_l10n_in" model="ir.ui.view"> |
| 4 | <field name="name">uom.uom.form</field> |
| 5 | <field name="model">uom.uom</field> |
| 6 | <field name="inherit_id" ref="uom.product_uom_form_view"/> |
| 7 | <field name="arch" type="xml"> |
| 8 | <xpath expr="//field[@name='name']" position="after"> |
| 9 | <field name="l10n_in_code" invisible="'IN' not in fiscal_country_codes"/> |
| 10 | </xpath> |
| 11 | </field> |
| 12 | </record> |
| 13 | </odoo> |