Files
odoo_source/addons/l10n_sa/views/view_move_form.xml
T
Julien Alardot (jual) 70a34a7773 [MOV]: l10n_sa l10n_sa_invoices: merge l10n_sa_invoices into l10n_sa
The l10n_sa_invoices changes do not need to be in a separate module as
they are always required for l10n_sa.
This merges the two modules into l10n_sa

closes odoo/odoo#85215

Task: task-2723443
Related: odoo/upgrade#3303
Signed-off-by: Julien Alardot (jual) <jual@odoo.com>
Signed-off-by: Florian Gilbert <flg@odoo.com>
2022-03-15 10:48:45 +01:00

15 lines
707 B
XML

<odoo>
<data>
<record id="view_move_form" model="ir.ui.view">
<field name="name">account.move.deliver_date</field>
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form"/>
<field name="arch" type="xml">
<field name="invoice_date" position="after">
<field name="l10n_sa_show_delivery_date" invisible="1"/>
<field name="l10n_sa_delivery_date" attrs="{'invisible': [('l10n_sa_show_delivery_date', '=', False)], 'required': [('l10n_sa_show_delivery_date', '=', True)]}"/>
</field>
</field>
</record>
</data>
</odoo>