[IMP] make required field customer

bzr revid: fka@tinyerp.com-20130304132345-go4efgxiex0slpkl
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-03-04 18:53:45 +05:30
parent 81f0cd8783
commit 548936166a
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@
</div>
</div>
</xpath>
<field name="partner_id" position="attributes">
<attribute name="attrs">{'required': [('invoice_on_timesheets', '=', True)]}</attribute>
</field>
<xpath expr='//group[@name="invoice_on_timesheets"]' position="replace">
</xpath>
<xpath expr='//separator[@name="description"]' position='before'>