c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15094
[Bug 710721] Re: [extra-addons] bookstore modules need to be ported to v6
Hello Jan,
Your suggestion sounds ok to me, if you detect that an extra-addon module is broken beyond easy repair in trunk or 6.0, it makes sense to remove it altogether, as we currently have no specific way of marking a package as broken. In that case you also need to verify if other modules depend on it, and find out if the dependency can be easily removed or if they must be removed too.
Now perhaps an alternative could be to put {'installable' : False} in the module descriptor to prevent installing that version, with a note in the description of the module explaining why it is disabled. This is kind of a workaround to the lack of 'broken flag', and this way it would even be visible in the modules index.
Note that we are also thinking of a deploying a new type of module
repository for community modules, to replace the not-very-usable current
system, and this feature could be taken into account while looking for a
repository system.
--
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/710721
Title:
[extra-addons] bookstore modules need to be ported to v6
Status in OpenERP Modules (addons):
Won't Fix
Bug description:
Version 6.0.1.
Try to install module 'profile_bookstore' but is can't as it is
depended on module 'account_tax_include' which is not (yet) available
in V6.0.1.
Furthermore when trying to install the module 'bookstore' (thus not
'profile_bookstore') then the following error message appears:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 60, in restart_pool
return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/pooler.py", line 39, in get_db_and_pool
addons.load_modules(db, force_demo, status, update_module)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 883, in load_modules
processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/__init__.py", line 717, in load_module_graph
modules = pool.instanciate(package.name, cr)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 258, in instanciate
res.append(klass.createInstance(self, module, cr))
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 331, in createInstance
assert pool.get(parent_name), "parent class %s does not exist in module %s !" % (parent_name, module)
AssertionError: parent class mrp.procurement does not exist in module library !
References