c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33599
[Bug 863130] [NEW] [TRUNK]:Warning: ('Error !', u'There is no sales journal defined for this company: "Shop 1" (id:6)')
Public bug reported:
while installing the sale module i get the this trackback :
[2011-09-30 08:58:15,282][trunk] ERROR:tools.convert.xml_import:Parse error in /home/amit/sources/addons/trunk/sale/sale_demo.xml:213:
<workflow action="manual_invoice" model="sale.order" ref="order6"/>
Traceback (most recent call last):
File "/home/amit/sources/server/trunk/openerp/tools/convert.py", line 888, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/amit/sources/server/trunk/openerp/tools/convert.py", line 563, in _tag_workflow
str(rec.get('action','')), cr)
File "/home/amit/sources/server/trunk/openerp/workflow/wkf_service.py", line 124, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/amit/sources/server/trunk/openerp/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 126, in _execute
id_new = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/amit/sources/server/trunk/openerp/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/amit/sources/server/trunk/openerp/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/amit/sources/server/trunk/openerp/tools/safe_eval.py", line 286, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/amit/sources/server/trunk/openerp/osv/orm.py", line 344, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/amit/sources/addons/trunk/sale/sale.py", line 524, in action_invoice_create
res = self._make_invoice(cr, uid, order, il, context=context)
File "/home/amit/sources/addons/trunk/sale/sale.py", line 403, in _make_invoice
_('There is no sales journal defined for this company: "%s" (id:%d)') % (order.company_id.name, order.company_id.id))
Warning: ('Error !', u'There is no sales journal defined for this company: "Shop 1" (id:6)')
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/863130
Title:
[TRUNK]:Warning: ('Error !', u'There is no sales journal defined for
this company: "Shop 1" (id:6)')
Status in OpenERP Addons (modules):
New
Bug description:
while installing the sale module i get the this trackback :
[2011-09-30 08:58:15,282][trunk] ERROR:tools.convert.xml_import:Parse error in /home/amit/sources/addons/trunk/sale/sale_demo.xml:213:
<workflow action="manual_invoice" model="sale.order" ref="order6"/>
Traceback (most recent call last):
File "/home/amit/sources/server/trunk/openerp/tools/convert.py", line 888, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/amit/sources/server/trunk/openerp/tools/convert.py", line 563, in _tag_workflow
str(rec.get('action','')), cr)
File "/home/amit/sources/server/trunk/openerp/workflow/wkf_service.py", line 124, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/amit/sources/server/trunk/openerp/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/amit/sources/server/trunk/openerp/workflow/workitem.py", line 126, in _execute
id_new = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/amit/sources/server/trunk/openerp/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/amit/sources/server/trunk/openerp/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/amit/sources/server/trunk/openerp/tools/safe_eval.py", line 286, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/home/amit/sources/server/trunk/openerp/osv/orm.py", line 344, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/amit/sources/addons/trunk/sale/sale.py", line 524, in action_invoice_create
res = self._make_invoice(cr, uid, order, il, context=context)
File "/home/amit/sources/addons/trunk/sale/sale.py", line 403, in _make_invoice
_('There is no sales journal defined for this company: "%s" (id:%d)') % (order.company_id.name, order.company_id.id))
Warning: ('Error !', u'There is no sales journal defined for this company: "Shop 1" (id:6)')
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/863130/+subscriptions
Follow ups
References