Browse Source

S0041 : add date_invoice as required in vendor bills view

pull/14/head
EliseDup 8 years ago
committed by Thibault Francois
parent
commit
4415002e52
  1. 14
      beesdoo_account/views/account_invoice.xml
  2. 2
      beesdoo_pos/views/beesdoo_pos.xml

14
beesdoo_account/views/account_invoice.xml

@ -11,4 +11,18 @@
</field> </field>
</record> </record>
</data> </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>

2
beesdoo_pos/views/beesdoo_pos.xml

@ -34,5 +34,7 @@
<link rel='stylesheet' href="/beesdoo_pos/static/src/css/beesdoo.css" /> <link rel='stylesheet' href="/beesdoo_pos/static/src/css/beesdoo.css" />
</xpath> </xpath>
</template> </template>
</data> </data>
</openerp> </openerp>
Loading…
Cancel
Save