Hello,

It has been fixed in lp:~openerp-dev/openobject-addons/trunk-dev-addons3
branch.

revision-id: m...@mra-laptop-20101101122437-kkq2wqe3sebb8ebu
revno: 4561

Thanks for notifying us.

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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: Fix Released

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