Browse Source

[IMP] Remove unecessary data tag

pull/147/head
houssine 5 years ago
parent
commit
2c710ab2b2
  1. 40
      beesdoo_account/views/account_invoice.xml

40
beesdoo_account/views/account_invoice.xml

@ -1,27 +1,23 @@
<odoo> <odoo>
<data>
<record model="ir.ui.view" id="beesdoo_account_invoice_form_view">
<field name="name">beesdoo.account.invoice.form.view</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form" />
<field name="arch" type="xml">
<field name="date_invoice" position="attributes">
<attribute name="required">True</attribute>
</field>
<record model="ir.ui.view" id="beesdoo_account_invoice_form_view">
<field name="name">beesdoo.account.invoice.form.view</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form" />
<field name="arch" type="xml">
<field name="date_invoice" position="attributes">
<attribute name="required">True</attribute>
</field> </field>
</record>
</data>
</field>
</record>
<data>
<record model="ir.ui.view" id="beesdoo_account_invoice_supplier_form_view">
<field name="name">beesdoo.account.invoice.supplier.form.view</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form" />
<field name="arch" type="xml">
<field name="date_invoice" position="attributes">
<attribute name="required">True</attribute>
</field>
<record model="ir.ui.view" id="beesdoo_account_invoice_supplier_form_view">
<field name="name">beesdoo.account.invoice.supplier.form.view</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form" />
<field name="arch" type="xml">
<field name="date_invoice" position="attributes">
<attribute name="required">True</attribute>
</field> </field>
</record>
</data>
</field>
</record>
</odoo> </odoo>
Loading…
Cancel
Save