TRUNK: AssertionError: parent class crm.case does not exist in module project_crm !

Bug #592729 reported by Ana Juaristi Olalde
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Undecided
Unassigned

Bug Description

On TRUNK activating Knowledge modules installation wizard, and clicking all options to be installed I obtain the following error:

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : es_ES.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0dev
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/openerp/production/openerp-server/bin/netsvc.py", line 394, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/production/openerp-server/bin/service/web_services.py", line 587, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 133, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 123, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 182, in action_next
    next = self.execute(cr, uid, ids, context=None)
  File "/home/openerp/production/openerp-server/bin/addons/base/res/res_config.py", line 413, in execute
    pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/openerp/production/openerp-server/bin/pooler.py", line 61, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/openerp/production/openerp-server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 838, in load_modules
    r = load_module_graph(cr, graph, status, report=report)
  File "/home/openerp/production/openerp-server/bin/addons/__init__.py", line 691, in load_module_graph
    modules = pool.instanciate(package.name, cr)
  File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 187, in instanciate
    res.append(klass.createInstance(self, module, cr))
  File "/home/openerp/production/openerp-server/bin/osv/osv.py", line 260, in createInstance
    assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
AssertionError: parent class crm.case does not exist in module project_crm !

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Ana,

In Trunk the CRM-cases are handled in a different manner.
Yes, the crm.case object no longer exists.

We will propose to have a solution for this very soon.

Thank you for pointing out to this issue.

Revision history for this message
Pablo Padulles OpenUnIT (pablop) wrote :

try with this

__terp__.py
{
    "name": "Open UnIT",
    "version": "1.0",
    "author": "Open UnIT",
    "category": "Generic Modules/",
    "depends": [
        'base',
        'crm',
    ],
    "init_xml": [],
    "description": """
    Modulo para ingresar casos
    """,
    "demo_xml": [],
    "update_xml": [

    ],
    "active": False,
    "installable": True
}

description: updated
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.