This is a problem of passing user_id wrongly in context.
Thanks.

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
     Assignee: RME(OpenERP) (rme-openerp) => OpenERP R&D Addons Team 1 
(openerp-dev-addons1)

** Changed in: openobject-addons
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1) => OpenERP R&D 
Addons Team 3 (openerp-dev-addons3)

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

-- 
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: Confirmed

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.



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to