revno 2452
[2010-06-29 22:30:42,472] INFO:init:module account: loading account_unit_test.xml
[2010-06-29 22:30:43,032] ERROR:init:
Traceback (most recent call last):
File "./openerp-server.py", line 117, in
pooler.get_db_and_pool(db, update_module=tools.config['init'] or tools.config['update'])
File "/home/gass/OpenERP/trunk/openobject-server/bin/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 830, in load_modules
r = load_module_graph(cr, graph, status, report=report)
File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 721, in load_module_graph
load_demo_xml(cr, m, idref, mode)
File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/__init__.py", line 626, in load_demo_xml
tools.convert_xml_import(cr, m, fp, idref, mode=mode, noupdate=True, **kwargs)
File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/convert.py", line 905, in convert_xml_import
obj.parse(doc.getroot())
File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/convert.py", line 799, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/convert.py", line 488, in _tag_workflow
str(rec.get('action','')), cr)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/workitem.py", line 107, in _execute
wkf_expr.execute(cr, ident, workitem, activity)
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/gass/OpenERP/trunk/openobject-server/bin/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/gass/OpenERP/trunk/openobject-server/bin/tools/safe_eval.py", line 265, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in
File "/home/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 176, in
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/account/invoice.py", line 866, in action_move_create
self._log_event(cr, uid, ids)
File "/home/gass/OpenERP/trunk/openobject-server/bin/addons/account/invoice.py", line 969, in _log_event
if self.pool.get('res.partner.event.type').check(cr, uid, 'invoice_open'):
AttributeError: 'NoneType' object has no attribute 'check'