[FIX] analytic_contract, usability: display the reinvoicing info group when charge_expense is True

bzr revid: qdp-launchpad@openerp.com-20130313155725-v79jfvl05ehbuhdh
This commit is contained in:
Quentin (OpenERP) 2013-03-13 16:57:25 +01:00
parent b25b2dcbdc
commit 46ed704e83
2 changed files with 6 additions and 3 deletions

View File

@ -131,10 +131,10 @@
</table>
<group name='invoice_on_timesheets' attrs="{'invisible': [('invoice_on_timesheets','=',False)]}">
<p class="oe_grey oe_edit_only" colspan="2">
When invoicing on timesheet, OpenERP uses the
When reinvoicing costs, OpenERP uses the
pricelist of the contract which uses the price
defined on the product related to each employee to
define the customer invoice price rate.
defined on the product related (e.g timesheet
products are defined on each employee).
</p>
<group>
<field name="pricelist_id"

View File

@ -40,6 +40,9 @@
</td>
</tr>
</xpath>
<xpath expr="//group[@name='invoice_on_timesheets']" position="attributes">
<attribute name="attrs">{'invisible': [('invoice_on_timesheets','=',False),('charge_expenses','=',False)]}</attribute>
</xpath>
</field>
</record>