← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 664955] Re: client side error while creating new timesheet line

 

** Changed in: openobject-addons
     Assignee: (unassigned) => RME(OpenERP) (rme-openerp)

-- 
client side error while creating new timesheet line
https://bugs.launchpad.net/bugs/664955
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: New

Bug description:
With bzr revno 4454 of truk series addons. Following error displayed at client side while creating new timesheet line from hr timesheet. 
ERROR:tools.expr_eval:date=date_current,user_id=user_id
Traceback (most recent call last):
  File "/home/eiffel/trunk/client/bin/tools/__init__.py", line 51, in expr_eval
    temp = eval(string, context)
  File "<string>", line 1
     date=date_current,user_id=user_id
         ^
 SyntaxError: invalid syntax
ERROR:tools.expr_eval:dict(date=date_current,user_id=user_id)
Traceback (most recent call last):
  File "/home/eiffel/trunk/client/bin/tools/__init__.py", line 51, in expr_eval
    temp = eval(string, context)
  File "<string>", line 1, in <module>
NameError: name 'user_id' is not defined

This due to 'user_id' field passed in context of o2m timesheet line. Field is no more in view.





References