Browse Source

S0041 : add date_invoice as required in vendor bills view

pull/109/head
EliseDup 8 years ago
committed by Rémy Taymans
parent
commit
4ccebfa048
  1. 38
      beesdoo_account/views/account_invoice.xml

38
beesdoo_account/views/account_invoice.xml

@ -1,14 +1,28 @@
<openerp> <openerp>
<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>
</field>
</record>
</data>
<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>
</field>
</record>
</data>
<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>
</field>
</record>
</data>
</openerp> </openerp>
Loading…
Cancel
Save