account_parallel_currency: test failure test/mapping_parallel_accounts.yml

Bug #1334645 reported by Alexandre Fayolle - camptocamp on 2014-06-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Account - Consolidation
Lorenzo Battistini

Bug Description

2014-06-26 12:46:48,249 4451 INFO test_70 openerp.modules.loading: module account_parallel_currency: loading test/mapping_parallel_accounts.yml
2014-06-26 12:46:48,297 4451 TEST test_70 I create Tax Codes
2014-06-26 12:46:48,348 4451 ERROR test_70 (u'Error', u'Tax code 1 does not have parent')
Traceback (most recent call last):
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/", line 864, in process
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/", line 875, in _process_node
  File "/home/afayolle/work/oerp/openobject-server/7.0/openerp/tools/", line 328, in process_record
    self.module, record_dict,, noupdate=self.isnoupdate(record), mode=self.mode, context=context)
  File "/home/afayolle/work/oerp/server/7.0/openerp/addons/base/ir/", line 971, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/home/afayolle/work/oca/account-consolidation/7.0/account_parallel_currency/", line 504, in create
    self.create_parallel_tax_codes(cr, uid, [res], context=None)
  File "/home/afayolle/work/oca/account-consolidation/7.0/account_parallel_currency/", line 464, in create_parallel_tax_codes
    % tax_code.code)
except_orm: (u'Error', u'Tax code 1 does not have parent')

Related branches

description: updated

@elbati: since you wrote both the code raising the exception and the test, you're best suited to fix this. :-)

Changed in account-consolidation:
importance: Undecided → High
assignee: nobody → Lorenzo Battistini - Agile BG (elbati)
Changed in account-consolidation:
status: New → Confirmed
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers