Hi all, found an error in trunk addons | account_followup - account_followup.yml
=================
[2010-09-19 23:25:26,722][testdemo] INFO:init:module account_followup: loading security/ir.model.access.csv
[2010-09-19 23:25:26,849][testdemo] INFO:init:module account_followup: loading wizard/account_followup_print_view.xml
[2010-09-19 23:25:26,986][testdemo] INFO:init:module account_followup: loading report/account_followup_report.xml
[2010-09-19 23:25:27,098][testdemo] INFO:init:module account_followup: loading account_followup_view.xml
[2010-09-19 23:25:27,439][testdemo] INFO:init:module account_followup: loading account_followup_data.xml
[2010-09-19 23:25:27,480][testdemo] INFO:init:module account_followup: loading account_followup_demo.xml
[2010-09-19 23:25:27,548][testdemo] INFO:init:module account_followup: loading test/account_followup.yml
[2010-09-19 23:25:28,156][testdemo] ERROR:tests.account_followup:('warning', 'UserError')
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 722, in process
self._process_node(node)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 756, in _process_node
self.process_workflow({node: []})
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/yaml_import.py", line 450, in process_workflow
wf_service.trg_validate(uid, workflow.model, id, workflow.action, self.cr)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/wkf_service.py", line 80, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/workitem.py", line 61, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/workitem.py", line 174, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/workitem.py", line 182, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/workitem.py", line 41, in create
process(cr, res, ident, stack=stack)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/workitem.py", line 53, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/workitem.py", line 107, in _execute
wkf_expr.execute(cr, ident, workitem, activity)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/wkf_expr.py", line 68, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/usr/local/lib/python2.6/dist-packages/openerp-server/workflow/wkf_expr.py", line 58, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/tools/safe_eval.py", line 270, in safe_eval
return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 175, in <lambda>
return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/account/invoice.py", line 896, in action_move_create
_('Cannot create invoice move on centralised journal'))
except_osv: ('warning', 'UserError')
=================
Not shore if it, has been picked up yet, just a FYI...
Thanks
Let us know if the error still occurs after the updation of code.
Thanks.