Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Error while installing Sale bundle product addon

By
Aeneas Winterhalter
on 7/9/13, 1:30 PM 1,452 views

I tried to install the following addon:

sale_bundle_product

After coping the files to the addon folder and updating the Modules, i tried installing but I always get the following error Message and after this try i'm not able to install any addon anymore. So the Addon destroys my Database.

Is it because the addon is for V6 and not V7? Or wheres the Problem?

Here The Error Message:

OpenERP Server Error Client Traceback
(most recent call last):   File "/opt/openerp/server/openerp/addons/web/http.py",
line 204, in dispatch
     response["result"] = method(self, **self.params)   File "/opt/openerp/server/openerp/addons/web/controllers/main.py",
line 1133, in call_button
    action = self._call_kw(req, model, method, args, {})   File "/opt/openerp/server/openerp/addons/web/controllers/main.py",
line 1121, in _call_kw
     return getattr(req.session.model(model),
 method)(*args, **kwargs)   File
 "/opt/openerp/server/openerp/addons/web/session.py",
 line 43, in proxy
     result = self.proxy.execute_kw(self.session._db,
 self.session._uid,
 self.session._password, self.model,
 method, args, kw)   File
 "/opt/openerp/server/openerp/addons/web/session.py",
 line 31, in proxy_method
     result = self.session.send(self.service_name,
 method, *args)   File
 "/opt/openerp/server/openerp/addons/web/session.py",
 line 104, in send
     raise xmlrpclib.Fault(openerp.tools.ustr(e),
 formatted_info)

Server Traceback (most recent call last):   File
"/opt/openerp/server/openerp/addons/web/session.py",
 line 90, in send
     return openerp.netsvc.dispatch_rpc(service_name, method, args)   File
 "/opt/openerp/server/openerp/netsvc.py",
 line 293, in dispatch_rpc
     result = ExportService.getService(service_name).dispatch(method, params)   File
 "/opt/openerp/server/openerp/service/web_services.py",
 line 626, in dispatch
     res = fn(db, uid, *params)   File "/opt/openerp/server/openerp/osv/osv.py",
 line 188, in execute_kw
     return self.execute(db, uid, obj, method, *args, **kw or {})   File
 "/opt/openerp/server/openerp/osv/osv.py",
 line 131, in wrapper
     return f(self, dbname, *args, **kwargs)   File "/opt/openerp/server/openerp/osv/osv.py",
 line 197, in execute
 res = self.execute_cr(cr, uid, obj, method, *args, **kw)   File
 "/opt/openerp/server/openerp/osv/osv.py",
 line 185, in execute_cr
     return getattr(object, method)(cr, uid, *args, **kw)   File
 "/opt/openerp/server/openerp/addons/base/module/module.py",
 line 424, in button_immediate_install
     return self._button_immediate_function(cr,
 uid, ids, self.button_install,
 context=context)   File
 "/opt/openerp/server/openerp/addons/base/module/module.py",
 line 475, in
 _button_immediate_function
     _, pool = pooler.restart_pool(cr.dbname,
 update_module=True)   File
 "/opt/openerp/server/openerp/pooler.py",
 line 39, in restart_pool
     registry = RegistryManager.new(db_name,
 force_demo, status, update_module)  
 File "/opt/openerp/server/openerp/modules/registry.py",
    line 218, in new
     openerp.modules.load_modules(registry.db,
 force_demo, status, update_module)  
 File "/opt/openerp/server/openerp/modules/loading.py",
 line 348, in load_modules
     processed = load_marked_modules(cr, graph,
 states_to_load, force, status, report,
 loaded_modules, update_module)   File
 "/opt/openerp/server/openerp/modules/loading.py",
 line 259, in load_marked_modules
     loaded, processed = load_module_graph(cr, graph,
 progressdict, report=report,
 skip_modules=loaded_modules,
 perform_checks=perform_checks)
    File  "/opt/openerp/server/openerp/modules/loading.py",
 line 190, in load_module_graph
     load_update_xml(module_name, idref, mode)  
File  "/opt/openerp/server/openerp/modules/loading.py",
 line 74, in <lambda>
     load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')   File
 "/opt/openerp/server/openerp/modules/loading.py",
 line 127, in _load_data
     tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/opt/openerp/server/openerp/tools/convert.py",
 line 954, in convert_xml_import
 obj.parse(doc.getroot())   File "/opt/openerp/server/openerp/tools/convert.py",
 line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)   
File "/opt/openerp/server/openerp/tools/convert.py",
 line 652, in _tag_menuitem
     group_id = self.id_get(cr, group)
File  "/opt/openerp/server/openerp/tools/convert.py",
 line 824, in id_get
 res = self.model_id_get(cr, id_str)
File  "/opt/openerp/server/openerp/tools/convert.py",
 line 833, in model_id_get
 return model_data_obj.get_object_reference(cr, self.uid, mod, id_str)
File "/opt/openerp/server/openerp/tools/cache.py",
     line 18, in lookup
 r = self.lookup(self2, cr, *args)   
File  "/opt/openerp/server/openerp/tools/cache.py",
    line 46, in lookup
     value = d[key] = self.method(self2, cr, *args)   
File "/opt/openerp/server/openerp/addons/base/ir/ir_model.py",
     line 868, in get_object_reference
 data_id = self._get_id(cr, uid, module, xml_id)   
File "/opt/openerp/server/openerp/tools/cache.py",
 line 18, in lookup
 r = self.lookup(self2, cr, *args)   
File "/opt/openerp/server/openerp/tools/cache.py",
     line 46, in lookup
 value = d[key] = self.method(self2, cr, *args)   
File "/opt/openerp/server/openerp/addons/base/ir/ir_model.py",
 line 861, in _get_id
 raise ValueError('No such external ID currently defined in the system:
 %s.%s' % (module, xml_id)) ValueError:
    No such external ID currently defined in the system: base.group_extended

Addon can be found here: http://v6apps.openerp.com/addon/5694?filter=%7B%22version%22%3A+1%2C+%22order_by%22%3A+%22downloads_sum+desc%22%2C+%22author%22%3A+54%7D&page=2

Aeneas Winterhalter
on 7/9/13, 1:30 PM
0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 7/9/13, 1:47 PM

The error an sich is not caused by V6 vs V7. It is about missing an ID which is found in openERP V6 and not V7.

But the issue is that the module is made for V6, and not V7.

Okay Thanks! But is there a possibility to get this Addon run under V7? Or a similar Addon for V7? With this Plugin you can Bundle single poducts to a big one.

Aeneas Winterhalter
on 7/9/13, 1:51 PM

The soulution is either modify the module you have downloaded to make it V7 compatible, or write your own code.

patrick
on 7/15/13, 11:19 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 7/9/13, 1:30 PM
Seen: 1452 times
Last updated: 3/16/15, 8:10 AM