[FIX] project_timesheet : to Invoice required if partner is present

bzr revid: tfr@openerp.com-20110106135408-wu9ihf7qn2xwwox6
This commit is contained in:
Thibault Francois 2011-01-06 14:54:08 +01:00
parent e3f6b6a3d1
commit 93edbe8824
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<group colspan="4" col="4">
<separator colspan="4" string="Invoicing Data"/>
<field name="pricelist_id" domain="[('type','=','sale')]" widget="selection"/>
<field name="to_invoice" widget="selection" string="Invoice Task Work"/>
<field name="to_invoice" widget="selection" string="Invoice Task Work" attrs="{'required':[('partner_id','!=',False)]}"/>
<field name="amount_max" groups="base.group_extended"/>
<field name="amount_invoiced" groups="base.group_extended"/>
</group>