[FIX] hr_expense: Removed editable from list view of expense

lp bug: https://launchpad.net/bugs/692976 fixed

bzr revid: pso@tinyerp.com-20101222053449-hmaggqfoal6sgu3k
This commit is contained in:
pso 2010-12-22 11:04:49 +05:30
parent dda57a3b7e
commit f935c2aa4f
1 changed files with 3 additions and 2 deletions

View File

@ -28,11 +28,11 @@
<field name="arch" type="xml">
<tree string="Expenses" colors="blue:state=='draft'">
<field name="employee_id"/>
<field name="date"/>
<field name="user_id" invisible="1"/>
<field name="department_id" groups="base.group_extended"/>
<field name="name"/>
<field name="date"/>
<field name="ref"/>
<field name="name"/>
<field name="amount"/>
<field name="state"/>
<button name="confirm" states="draft" string="Confirm" type="workflow" icon="gtk-apply" groups="base.group_hr_user,base.group_hr_manager"/>
@ -175,6 +175,7 @@
<field name="view_type">form</field>
<field name="context">{"search_default_user_id":uid}</field>
<field name="search_view_id" ref="view_hr_expense_filter"/>
<field name="view_id" ref="view_expenses_tree"/>
<field name="help">The OpenERP expenses management module allows you to track the full flow. Every month, the employees record their expenses. At the end of the month, their managers validates the expenses sheets which creates costs on projects/analytic accounts. The accountant validates the proposed entries and the employee can be reimbursed. You can also reinvoice the customer at the end of the flow.</field>
</record>