openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07594
[Bug 934175] Re: can not save new timesheet
IMHO "wkf_osv_index" btree (osv)
should be a unique index
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/934175
Title:
can not save new timesheet
Status in OpenERP Addons (modules):
New
Bug description:
Client Traceback (most recent call last):
File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/common/http.py", line 180, in dispatch
response["result"] = method(controller, self, **self.params)
File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/controllers/main.py", line 922, in create
r = m.create(data, req.session.eval_context(req.context))
File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/common/openerplib/main.py", line 250, in proxy
args, kw)
File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/common/openerplib/main.py", line 117, in proxy
result = self.connector.send(self.service_name, method, *args)
File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/common/http.py", line 611, in send
raise fault
Server Traceback (most recent call last):
File "/srv/openerp/instances/openerp_test_chricar/src/webclient/addons/web/common/http.py", line 592, in send
result = openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/service/web_services.py", line 572, in dispatch
res = fn(db, uid, *params)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/addons/hr_timesheet_sheet/hr_timesheet_sheet.py", line 251, in create
return super(hr_timesheet_sheet, self).create(cr, uid, vals, *args, **argv)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/osv/orm.py", line 4209, in create
wf_service.trg_create(user, self._name, id_new, cr)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/wkf_service.py", line 108, in trg_create
instance.create(cr, ident, wkf_id)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/instance.py", line 35, in create
workitem.create(cr, res, id_new, ident, stack=stack)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/workitem.py", line 158, in _split_test
if wkf_expr.check(cr, workitem, ident, transition,signal):
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/wkf_expr.py", line 81, in check
return _eval_expr(cr, ident, workitem, transition['condition'])
File "/srv/openerp/instances/openerp_test_chricar/src/server/openerp/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/srv/openerp/instances/openerp_test_chricar/src/server/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>
NameError: name 'check_make_to_stock' is not defined
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/934175/+subscriptions
References