← Back to team overview

openerp-india team mailing list archive

[Bug 921949] Re: [6.0.3] mrp_bom_customization cannot be installed

 

Hello Yann,

I have checked your issue with "mrp_bom_customization' module.

First of all "mrp_bom_customization" is a part of extra-addons, which is not compatible with the stable6.
According to your traceback, I have tried to install this module from extra-addons and faced the same error.

For this error you have to change line#127 on
mrp_bom_customization/mrp.py like     _inherit = 'procurement.order'
because mrp.procurement object doesn't exist anymore in vesrion6 and we
have already created a new module module "procurement" for same
functionality as well as we have rename this object to
'procurement.order'.

After this fixing I have tried to install this module, but again I have
faced the another error of group_id of sale.user because in versio6 our
Sale/User 's record_id change like 'base.group_sale_salesman' instead of
"sale.group_sale_user".

So you have to change your group_id as a 'base.group_sale_salesman' in
mrp_bom_customization/security/ir.module.csv file in place of
"sale.group_sale_user". Finlay doing this we have successfully install
this module.

Hope this will help for you.

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

Thank you!

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

** Summary changed:

- [6.0.3] mrp_bom_customization cannot be installed
+ [Extra-addons v6] mrp_bom_customization cannot be installed

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/921949

Title:
  [Extra-addons v6] mrp_bom_customization cannot be installed

Status in OpenERP Addons (modules):
  Won't Fix

Bug description:
  OpenERP reports:

  Traceback (most recent call last):
    File "/home/decindus/private/tools/openerp-6.0/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
      _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/pooler.py", line 60, in restart_pool
      return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/addons/__init__.py", line 883, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/home/decindus/private/tools/openerp-6.0/server/bin/addons/__init__.py", line 717, in load_module_graph
      modules = pool.instanciate(package.name, cr)
    File "/home/decindus/private/tools/openerp-6.0/server/bin/osv/osv.py", line 258, in instanciate
      res.append(klass.createInstance(self, module, cr))
    File "/home/decindus/private/tools/openerp-6.0/server/bin/osv/osv.py", line 336, 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 mrp_bom_customization !

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/921949/+subscriptions


References