| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <data> |
| 4 | <record id="view_move_form_inherit_l10n_sa" model="ir.ui.view"> |
| 5 | <field name="name">account.move.form.inherit.l10n_sa</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 | <group name="sale_info_group" position="inside"> |
| 10 | <field name="l10n_sa_reason" invisible="not l10n_sa_show_reason" readonly="state != 'draft'"/> |
| 11 | </group> |
| 12 | <xpath expr="//page[@id='other_tab']//field[@name='delivery_date']" position="after"> |
| 13 | <field name="l10n_sa_confirmation_datetime" invisible="country_code != 'SA' or move_type not in ('out_invoice', 'out_refund')" /> |
| 14 | </xpath> |
| 15 | </field> |
| 16 | </record> |
| 17 | </data> |
| 18 | </odoo> |