← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710721] Re: [extra-addons] bookstore modules need to be ported to v6

 

Hello Jan,

"profile_bookstore" is part of the extra-addons, which are maintained by the community, including all the modules created by "OpenERP" or "Tiny", as none of these are actively developed by our teams anymore.
>From your analysis, it seems that dependencies in "profile_bookstore" and probably its related modules must be verified and updated for v6. For instance, the account_tax_include module has been removed in v6 and its features have been integrated in the core 'account' module.
As a result, this dependency can simply be dropped, but it is likely that other parts of this module need to be reviewed and ported to v6... as shows the second error with the "bookstore" module. With regard to the missing "mrp.procurement", it has been refactored out of the "mrp" module in v6, and is now part of the "procurement" module (which mrp depends on). The consequence is that it was renamed to "procurement.order" to respect object naming conventions, and thus any module inheriting from it should use the updated name.
But this is probably not the end of the story for updating profile_bookstore to v6.

So if you or anyone from the community would like to work on it, please
mark the bug as "In progress" and assign it to yourself (or ask us or
anyone from OpenERP Drivers to do it for you). In the mean time, I will
mark it as "Won't fix" to indicate that no further progress is expected
at the moment. If you require further assistance with any similar
trouble while updating the module, do not hesitate to ask here or via a
question: https://answers.launchpad.net/openobject-addons

I hope you understand, and perhaps this explanation will be helpful to
you if you start fixing this extra-addon...

Thank you!

PS: For whomever works on fixing this, you probably want to apply/merge your changes in both the 6.0 and trunk branches of extra-addons: 
https://code.launchpad.net/~openerp-commiter/openobject-addons/extra-6.0
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-extra-addons

** Summary changed:

- bookstore module can not be installed, missing dependies
+ [extra-addons] bookstore modules need to be ported to v6

** Changed in: openobject-addons
       Status: New => Won't Fix

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