[FIX] project_timesheet : to Invoice required if partner is present
bzr revid: tfr@openerp.com-20110106135408-wu9ihf7qn2xwwox6
This commit is contained in:
parent
e3f6b6a3d1
commit
93edbe8824
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue