Re install module (account_payment)

Bug #608412 reported by Cristian Salamea
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Ravindra Mekhiya(OpenERP)

Bug Description

Hi, i did thiss actions:

Fresh installation openerp trunk
install account, account_payment modules
create some records with payments
uninstall account_payment module
try to re install account_payment module, then i have this error:

Environment Information :
System : Linux-2.6.32-23-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
Operating System Release : 2.6.32-23-generic
Operating System Version : #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : es_EC.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 6.0dev
Last revision No. & ID :1422 <email address hidden>
Traceback (most recent call last):
  File "/home/ovnicraft/development/openerp/server/bin/netsvc.py", line 401, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/ovnicraft/development/openerp/server/bin/service/web_services.py", line 625, in dispatch
    res = fn(db, uid, *params)
  File "/home/ovnicraft/development/openerp/server/bin/service/web_services.py", line 652, in exp_execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/home/ovnicraft/development/openerp/server/bin/service/web_services.py", line 634, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/home/ovnicraft/development/openerp/server/bin/wizard/__init__.py", line 177, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/home/ovnicraft/development/openerp/server/bin/wizard/__init__.py", line 72, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/home/ovnicraft/development/openerp/server/bin/addons/base/module/wizard/wizard_module_upgrade.py", line 83, in _upgrade_module
    db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/ovnicraft/development/openerp/server/bin/pooler.py", line 62, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/ovnicraft/development/openerp/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/ovnicraft/development/openerp/server/bin/addons/__init__.py", line 830, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/ovnicraft/development/openerp/server/bin/addons/__init__.py", line 717, in load_module_graph
    load_init_update_xml(cr, m, idref, mode, kind)
  File "/home/ovnicraft/development/openerp/server/bin/addons/__init__.py", line 613, in load_init_update_xml
    tools.convert_xml_import(cr, m, fp, idref, mode=mode, **kwargs)
  File "/home/ovnicraft/development/openerp/server/bin/tools/convert.py", line 898, in convert_xml_import
    obj.parse(doc.getroot())
  File "/home/ovnicraft/development/openerp/server/bin/tools/convert.py", line 792, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/home/ovnicraft/development/openerp/server/bin/tools/convert.py", line 519, in _tag_menuitem
    menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.get('parent',''))
  File "/home/ovnicraft/development/openerp/server/bin/tools/convert.py", line 767, in id_get
    return self.model_id_get(cr, model, id_str)[1]
TypeError: 'bool' object is unsubscriptable

Tags: account

Related branches

Changed in openobject-addons:
status: New → Confirmed
Changed in openobject-addons:
assignee: nobody → RME(OpenERP) (rme-openerp)
Revision history for this message
Ravindra Mekhiya(OpenERP) (rme-openerp) wrote :

Hello Cristian,

It has been fixed by revision 4981 <email address hidden>.

You may update the code and check.

Thanks.

Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.