summaryrefslogtreecommitdiff
path: root/addons/hr_expense/report
diff options
context:
space:
mode:
authordka-odoo <dka@openerp.com>2015-01-20 13:53:07 +0100
committerJérome Maes <jem@openerp.com>2015-02-25 11:25:40 +0100
commitd27910a8f2f2b29810dfa8022ad748cce64df00a (patch)
tree52776525b58ddb4d4c1b01ac63f2d0ac9e411b99 /addons/hr_expense/report
parente5875acc6aa19ca0a41ea1b4be9081bfd674005e (diff)
[IMP] hr_department: new kanban view for HR Departments.
hr add a simple kanban view that is updated by the various hr modules. Each module adds statistics and links in the kanban vignette, either in a to do or to approve column. The department kanban view can be seen as a small dashboard to have the main data about the department displayed. Links allow the HR manager to be redirected towards the various things to do or to approve in its department.
Diffstat (limited to 'addons/hr_expense/report')
-rw-r--r--addons/hr_expense/report/hr_expense_report_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_expense/report/hr_expense_report_view.xml b/addons/hr_expense/report/hr_expense_report_view.xml
index 14408d8c6ee..d61e90e46a6 100644
--- a/addons/hr_expense/report/hr_expense_report_view.xml
+++ b/addons/hr_expense/report/hr_expense_report_view.xml
@@ -36,7 +36,7 @@
<filter string="Approved" domain="[('state','=','accepted')]" help="Approved Expenses"/>
<filter string="Done" domain="[('state','=', 'done')]" help="Done Expenses"/>
<field name="employee_id"/>
- <field name="department_id"/>
+ <field name="department_id" groups="hr.group_multi_departments"/>
<group expand="0" string="Extended Filters...">
<field name="product_id"/>
<field name="user_id"/>
@@ -47,7 +47,7 @@
</group>
<group expand="1" string="Group By">
<filter string="Validation User" name="User" context="{'group_by':'user_id'}"/>
- <filter string="Department" context="{'group_by':'department_id'}"/>
+ <filter string="Department" groups="hr.group_multi_departments" context="{'group_by':'department_id'}"/>
<filter string="Product" context="{'group_by':'product_id'}"/>
<filter string="Status" context="{'group_by':'state'}"/>
<filter string="Company" context="{'group_by':'company_id'}" groups="base.group_multi_company"/>