I do not face it. I wish to know the server trace where it will show something like this:
File "/home/BarackObama/workspace/7.0/addons/hr_timesheet/report/user_timesheet.py", line 48, in create_xml
if context is None:
UnboundLocalError: local variable 'context' referenced before assignment
2013-08-31 07:57:59,093 15216 ERROR None openerp.netsvc: local variable 'context' referenced before assignment
(<type 'exceptions.UnboundLocalError'>, UnboundLocalError("local variable 'context' referenced before assignment",), <traceback object at 0xb39357d4>)
Cristian,
I do not face it. I wish to know the server trace where it will show something like this:
File "/home/ BarackObama/ workspace/ 7.0/addons/ hr_timesheet/ report/ user_timesheet. py", line 48, in create_xml UnboundLocalErr or'>, UnboundLocalErr or("local variable 'context' referenced before assignment",), <traceback object at 0xb39357d4>)
if context is None:
UnboundLocalError: local variable 'context' referenced before assignment
2013-08-31 07:57:59,093 15216 ERROR None openerp.netsvc: local variable 'context' referenced before assignment
(<type 'exceptions.
Make sure your lxml is compatible too.
Thanks.