addons/l10n_hu_edi/views/uom_uom_views.xml
raw| 1 | <?xml version="1.0"?> |
| 2 | <odoo> |
| 3 | |
| 4 | <record id="uom_uom_form_inherit_l10n_hu_edi" model="ir.ui.view"> |
| 5 | <field name="name">uom.uom.inherit.l10n_hu_edi</field> |
| 6 | <field name="model">uom.uom</field> |
| 7 | <field name="inherit_id" ref="uom.product_uom_form_view"/> |
| 8 | <field name="arch" type="xml"> |
| 9 | <xpath expr="//field[@name='name']" position="after"> |
| 10 | <field name="l10n_hu_edi_code" invisible="'HU' not in fiscal_country_codes"/> |
| 11 | </xpath> |
| 12 | </field> |
| 13 | </record> |
| 14 | |
| 15 | </odoo> |