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

Unable to upgrade a module which are in addons folder. Can any one please help me?

By
samba
on 11/10/14, 5:38 AM 704 views

When i click on "Upgrade" button for core module. Open erp showing below error.

"'Field state not found in browse_record(ir.module.module, 57)'"

I am storing third party modules in custom_modules folder which i created out of addons. i.e my folder structure: home/odoo/addons, home/odoo/custom_modules/. The modules which are there in custom_modules folder, upgrading successfully. But the modules in addons folder not upgrading. How can i overcome this problem. Total error message

OpenERP Server Error

Client Traceback (most recent call last): File "/home/samba/odoo-7-1/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/home/samba/odoo-7-1/addons/web/controllers/main.py", line 1137, in call_button action = self._call_kw(req, model, method, args, {}) File "/home/samba/odoo-7-1/addons/web/controllers/main.py", line 1125, in _call_kw return getattr(req.session.model(model), method)(*args, **kwargs) File "/home/samba/odoo-7-1/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/home/samba/odoo-7-1/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/home/samba/odoo-7-1/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/home/samba/odoo-7-1/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/samba/odoo-7-1/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/samba/odoo-7-1/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/home/samba/odoo-7-1/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/home/samba/odoo-7-1/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, **kwargs) File "/home/samba/odoo-7-1/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/samba/odoo-7-1/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/samba/odoo-7-1/openerp/addons/base/module/module.py", line 512, in button_immediate_upgrade return self._button_immediate_function(cr, uid, ids, self.button_upgrade, context=context) File "/home/samba/odoo-7-1/openerp/addons/base/module/module.py", line 470, in _button_immediate_function function(cr, uid, ids, context=context) File "/home/samba/odoo-7-1/openerp/addons/base/module/module.py", line 528, in button_upgrade if dep.module_id.state == 'installed' and dep.module_id not in todo: File "/home/samba/odoo-7-1/openerp/osv/orm.py", line 505, in __getattr__ raise AttributeError(e) AttributeError: 'Field state not found in browse_record(ir.module.module, 57)'

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

1 follower(s)

Stats

Asked: 11/10/14, 5:38 AM
Seen: 704 times
Last updated: 3/16/15, 8:10 AM