← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 696100] Re: error in configuring demo data 6.0 rc 1

 

Yes, problem solved, bug closed.

I have installed openerp-server and did the the same setup without an
error this time. (I used openerp-client rc1 since the install from rc2
did not work cfr. Bug 696991)

Many thanks for this quick reply.

-- 
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/696100

Title:
  error in configuring demo data 6.0 rc 1

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  [2010-12-31 21:49:33,743][demo_rc1] INFO:init:module account: loading test/account_supplier_invoice.yml
[2010-12-31 21:49:34,030][demo_rc1] ERROR:tests.account:('warning', 'Bad total !')
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openerp-server/tools/yaml_import.py", line 723, in process
    self._process_node(node)
  File "/usr/lib/python2.6/site-packages/openerp-server/tools/yaml_import.py", line 757, in _process_node
    self.process_workflow({node: []})
  File "/usr/lib/python2.6/site-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/lib/python2.6/site-packages/openerp-server/workflow/wkf_service.py", line 80, in trg_validate
    res2 = instance.validate(cr, id, ident, signal)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/instance.py", line 48, in validate
    workitem.process(cr, witem, ident, signal, force_running, stack=stack)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/workitem.py", line 61, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/workitem.py", line 174, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/workitem.py", line 182, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/workitem.py", line 41, in create
    process(cr, res, ident, stack=stack)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/workitem.py", line 53, in process
    result = _execute(cr, workitem, activity, ident, stack)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/workitem.py", line 107, in _execute
    wkf_expr.execute(cr, ident, workitem, activity)
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/wkf_expr.py", line 68, in execute
    return _eval_expr(cr, ident, workitem, activity['action'])
  File "/usr/lib/python2.6/site-packages/openerp-server/workflow/wkf_expr.py", line 58, in _eval_expr
    ret = eval(line, env, nocopy=True)
  File "/usr/lib/python2.6/site-packages/openerp-server/tools/safe_eval.py", line 271, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/openerp-server/osv/orm.py", line 177, in <lambda>
    return lambda *args, **argv: attr(self._cr, self._uid, [self._id], *args, **argv)
  File "/usr/lib/python2.6/site-packages/openerp-server/addons/account/invoice.py", line 824, in action_move_create
    raise osv.except_osv(_('Bad total !'), _('Please verify the price of the invoice !\nThe real total does not match the computed total.'))
except_osv: ('warning', 'Bad total !')





References