Bug in hr_holidays_extension/security/ir_rule.xml ~mmakonnen/addons-hr-ng/7.0

Bug #1234168 reported by Med Said BARA
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP - Human Resources
New
Undecided
Michael Telahun Makonnen

Bug Description

Copy from log file:

openerp.tools.safe_eval: Cannot eval u"['|', ('employee_id', 'child_of', [user.employee_ids[0].id]), ('employee_id.department_id.manager_id.user_id.id', '=', user.id)]"
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/tools/safe_eval.py", line 241, in safe_eval
    return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
IndexError: list index out of range
2013-10-01 16:34:44,529 6530 ERROR DevDB openerp.osv.osv: Uncaught exception

Related to hr_holidays_extension/security/ir_rule.xml

.... ('employee_id.department_id.manager_id.user_id.id', ......
Or
....('employee_id.department_id.manager_id.user_id', ......

Best regards

summary: - openerp.tools.safe_eval: Cannot eval u"['|', ('employee_id', 'child_of',
- [user.employee_ids[0].id]),
- ('employee_id.department_id.manager_id.user_id.id', '=', user.id)]"
+ Bug in hr_holidays_extension/security/ir_rule.xml ~mmakonnen/addons-hr-
+ ng/7.0
Changed in openerp-hr:
assignee: nobody → Michael Telahun Makonnen (mmakonnen)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.