| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <odoo> |
| 3 | <data> |
| 4 | <record id="view_invoice_form_l10n_sg" model="ir.ui.view"> |
| 5 | <field name="name">l10n_sg.invoice.form</field> |
| 6 | <field name="model">account.move</field> |
| 7 | <field name="inherit_id" ref="account.view_move_form"/> |
| 8 | <field name="arch" type="xml"> |
| 9 | <xpath expr="//field[@name='fiscal_position_id']" position="after"> |
| 10 | <field name="l10n_sg_permit_number" invisible="country_code != 'SG'"/> |
| 11 | <field name="l10n_sg_permit_number_date" invisible="country_code != 'SG'"/> |
| 12 | </xpath> |
| 13 | </field> |
| 14 | </record> |
| 15 | </data> |
| 16 | </odoo> |