c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15318
[Bug 714692] Re: Can't pay invoices
Hello,
I have tested your scenario with stable 6 and trunk both at my end. But
all are working fine and I am not able to get this type of traceback.
So would you please elaborate with more or provide the proper steps to
reproduce it.
Thanks.
** Changed in: openobject-addons
Status: New => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/714692
Title:
Can't pay invoices
Status in OpenERP Modules (addons):
Incomplete
Bug description:
On version 6. I get this trace every time I try to pay an invoice.
Traceback (most recent call last):
File "/home/openerp6/openerp-server-6.0.1/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/openerp6/openerp-server-6.0.1/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 196, in exec_workflow
res = self.exec_workflow_cr(cr, uid, obj, method, *args)
File "/home/openerp6/openerp-server-6.0.1/bin/osv/osv.py", line 189, in exec_workflow_cr
return wf_service.trg_validate(uid, obj, args[0], method, cr)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 107, in _execute
wkf_expr.execute(cr, ident, workitem, activity)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/openerp6/openerp-server-6.0.1/bin/tools/safe_eval.py", line 281, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/openerp6/openerp-server-6.0.1/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/openerp6/openerp-server/bin/addons/account_voucher/account_voucher.py", line 559, in proforma_voucher
self.action_move_line_create(cr, uid, ids, context=context)
File "/home/openerp6/openerp-server/bin/addons/account_voucher/account_voucher.py", line 783, in action_move_line_create
move_line_pool.reconcile_partial(cr, uid, rec_ids)
File "/home/openerp6/openerp-server/bin/addons/account/account_move_line.py", line 741, in reconcile_partial
res = self.reconcile(cr, uid, merges+unmerge, context=context)
File "/home/openerp6/openerp-server/bin/addons/account/account_move_line.py", line 881, in reconcile
wf_service.trg_trigger(uid, 'account.move.line', id, cr)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/wkf_service.py", line 56, in trg_trigger
instance.update(cr, instance_id, ident)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/instance.py", line 57, in update
workitem.process(cr, witem, ident, stack=stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/workitem.py", line 107, in _execute
wkf_expr.execute(cr, ident, workitem, activity)
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/openerp6/openerp-server-6.0.1/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/openerp6/openerp-server-6.0.1/bin/tools/safe_eval.py", line 281, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/openerp6/openerp-server-6.0.1/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/openerp6/openerp-server/bin/addons/account/invoice.py", line 356, in confirm_paid
self.write(cr, uid, ids, {'state':'paid'}, context=context)
File "/home/openerp6/openerp-server/bin/addons/base_action_rule/base_action_rule.py", line 184, in make_call_old
if not context.get('action'):
AttributeError: 'NoneType' object has no attribute 'get'
References