[FIX] analytic_contract, usability: display the reinvoicing info group when charge_expense is True
bzr revid: qdp-launchpad@openerp.com-20130313161950-lttkc7702pd69duq
This commit is contained in:
parent
46ed704e83
commit
19ddeb4b4b
|
@ -43,6 +43,13 @@
|
|||
<xpath expr="//group[@name='invoice_on_timesheets']" position="attributes">
|
||||
<attribute name="attrs">{'invisible': [('invoice_on_timesheets','=',False),('charge_expenses','=',False)]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='pricelist_id']" position="attributes">
|
||||
<attribute name="attrs">{'required': ['|',('invoice_on_timesheets','=',True),('charge_expenses','=',True)]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='to_invoice']" position="attributes">
|
||||
<attribute name="attrs">{'required': ['|',('invoice_on_timesheets','=',True),('charge_expenses','=',True)]}</attribute>
|
||||
<attribute name="string">Expenses and Timesheet Invoicing Ratio</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
Loading…
Reference in New Issue