| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <record id="view_move_form_inherit" model="ir.ui.view"> |
| 4 | <field name="name">account.move.form.inherit</field> |
| 5 | <field name="model">account.move</field> |
| 6 | <field name="inherit_id" ref="account.view_move_form"/> |
| 7 | <field name="arch" type="xml"> |
| 8 | <xpath expr="//page[@id='other_tab']//field[@name='delivery_date']" position="after"> |
| 9 | <field name="l10n_es_is_simplified" invisible="country_code != 'ES'" readonly="state != 'draft'"/> |
| 10 | </xpath> |
| 11 | </field> |
| 12 | </record> |
| 13 | </odoo> |