c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12755
Re: [Bug 702558] Re: [V6trunk] Error to transform Expenses like invoice
Hi Fabien,
Thanks for your replay but i am not sure to understand well.
Account-chart module is installed.
I have same configuration like V5.0.15 and on this version that run well.
Can you precise me this point ?
Thanks
Yves MALATESTA
CYM - Choose Your Model
General Manager
yves.malatesta@xxxxxxxxxx
www.cymtemp.fr
Mob : +33 786 180 818
Voip : +33 966 887 148
Fix : +33 297 937 148
CYM-Choose Your Model - Gaincru, 56140 RUFFIAC - R.C.S. VANNES 522 088
988
-----Message d'origine-----
De : bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] De la part de Fabien (Open ERP)
Envoyé : lundi 17 janvier 2011 08:51
À : yves.malatesta@xxxxxxxxxx
Objet : [Bug 702558] Re: [V6trunk] Error to transform Expenses like invoice
you have to install a chart of account,
** Changed in: openobject-addons
Status: New => Invalid
--
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/702558
Title:
[V6trunk] Error to transform Expenses like invoice
Status in OpenObject Addons Modules:
Invalid
Bug description:
Error Message:
Traceback (most recent call last):
File "/home/malatestay/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/malatestay/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/malatestay/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/malatestay/openerp/server/bin/osv/osv.py", line 196, in exec_workflow
res = self.exec_workflow_cr(cr, uid, obj, method, *args)
File "/home/malatestay/openerp/server/bin/osv/osv.py", line 189, in exec_workflow_cr
return wf_service.trg_validate(uid, obj, args[0], method, cr)
File "/home/malatestay/openerp/server/bin/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/malatestay/openerp/server/bin/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 126, in _execute
id_new = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/malatestay/openerp/server/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/malatestay/openerp/server/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/malatestay/openerp/server/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/malatestay/openerp/server/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/malatestay/openerp/addons/hr_expense/hr_expense.py", line 159, in action_invoice_create
acc = exp.employee_id.address_home_id.partner_id.property_account_payable.id
AttributeError: 'NoneType' object has no attribute 'id'
To unsubscribe from this bug, go to:
https://bugs.launchpad.net/openobject-addons/+bug/702558/+subscribe
--
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/702558
Title:
[V6trunk] Error to transform Expenses like invoice
Status in OpenObject Addons Modules:
Invalid
Bug description:
Error Message:
Traceback (most recent call last):
File "/home/malatestay/openerp/server/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/malatestay/openerp/server/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/malatestay/openerp/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/malatestay/openerp/server/bin/osv/osv.py", line 196, in exec_workflow
res = self.exec_workflow_cr(cr, uid, obj, method, *args)
File "/home/malatestay/openerp/server/bin/osv/osv.py", line 189, in exec_workflow_cr
return wf_service.trg_validate(uid, obj, args[0], method, cr)
File "/home/malatestay/openerp/server/bin/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/malatestay/openerp/server/bin/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/malatestay/openerp/server/bin/workflow/workitem.py", line 126, in _execute
id_new = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/malatestay/openerp/server/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/malatestay/openerp/server/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/malatestay/openerp/server/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/malatestay/openerp/server/bin/osv/orm.py", line 181, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/malatestay/openerp/addons/hr_expense/hr_expense.py", line 159, in action_invoice_create
acc = exp.employee_id.address_home_id.partner_id.property_account_payable.id
AttributeError: 'NoneType' object has no attribute 'id'
References