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

View Problem My Dashboard

By
Vincent Monbaron
on 8/12/14, 5:32 AM 1,418 views

Hello everybody,

This is my firt post in this forum :-)

I have a little problem (I hope) with my dashboard.

I run openerp 7 on a ubuntu server 12.04 LTS.

All work but since yersterday i have this error message:

OpenERP Server Error

Client Traceback (most recent call last): File "/opt/openerp/itelium_openerp/openerp/addons/web/http.py", line 204, in dispatch response["result"] = method(self, **self.params) File "/opt/openerp/itelium_openerp/openerp/addons/web/controllers/main.py", line 992, in load menu_root_ids = self.get_user_roots(req) File "/opt/openerp/itelium_openerp/openerp/addons/web/controllers/main.py", line 978, in get_user_roots return Menus.search(menu_domain, 0, False, False, req.context) File "/opt/openerp/itelium_openerp/openerp/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 "/opt/openerp/itelium_openerp/openerp/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/itelium_openerp/openerp/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info) Server Traceback (most recent call last): File "/opt/openerp/itelium_openerp/openerp/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/itelium_openerp/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/itelium_openerp/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, *params) File "/opt/openerp/itelium_openerp/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, **kw or {}) File "/opt/openerp/itelium_openerp/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, *args, **kwargs) File "/opt/openerp/itelium_openerp/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/opt/openerp/itelium_openerp/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/openerp/itelium_openerp/openerp/addons/mail/mail_group_menu.py", line 44, in search ids = super(ir_ui_menu, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False) File "/opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py", line 127, in search result = self._filter_visible_menus(cr, uid, ids, context=context) File "/opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py", line 103, in _filter_visible_menus if not menu.child_id: File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 497, in __getattr__ return self[name] File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 3623, in read result = self._read_flat(cr, user, select, fields, context, load) File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 3744, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "/opt/openerp/itelium_openerp/openerp/osv/fields.py", line 538, in get ids2 = obj.pool.get(self._obj).search(cr, user, domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context) File "/opt/openerp/itelium_openerp/openerp/addons/mail/mail_group_menu.py", line 44, in search ids = super(ir_ui_menu, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False) File "/opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py", line 127, in search result = self._filter_visible_menus(cr, uid, ids, context=context) File "/opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py", line 103, in _filter_visible_menus if not menu.child_id: File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 497, in __getattr__ return self[name] File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 405, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 3623, in read result = self._read_flat(cr, user, select, fields, context, load) File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 3744, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "/opt/openerp/itelium_openerp/openerp/osv/fields.py", line 538, in get ids2 = obj.pool.get(self._obj).search(cr, user, domain + [(self._fields_id, 'in', ids)], limit=self._limit, context=context) File "/opt/openerp/itelium_openerp/openerp/addons/mail/mail_group_menu.py", line 44, in search ids = super(ir_ui_menu, self).search(cr, uid, args, offset=offset, limit=limit, order=order, context=context, count=False) File "/opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py", line 127, in search result = self._filter_visible_menus(cr, uid, ids, context=context) File "/opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py", line 103, in _filter_visible_menus if not menu.child_id: File "/opt/openerp/itelium_openerp/openerp/osv/orm.py", line 499, in __getattr__ raise AttributeError(e) AttributeError: 'Field res_model not found in browse_record(ir.actions.act_window, 27)'

I have try yesterday to do a new view for a custom modul. Without succes...

Could you please help me ?

Vince

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 8/12/14, 10:47 AM

Hello Vincent,

You just missed the 'res_model' attribute somewhere in your custom module's view file.

Please check your 'custom module xml file' at 'act_window'. It seems your module has accidently removed the action. Probably the parent action seems removed.

If you are technical:In order to trace well, go to /opt/openerp/itelium_openerp/openerp/addons/base/ir/ir_ui_menu.py. line 103 and know the name of the menu.

If you are a functional, upgrade the base module!

Thanks.

0
Vincent Monbaron
On 8/12/14, 11:18 AM

Hello,

Thanks for your response !

How I can upgrade the base module ?

You can go to settings / installed modules..Search 'base' and upgrade. Or if you are a technical expert, you can use -u and -d option from terminal. Thanks.

Serpent Consulting Services Pvt. Ltd.
on 8/15/14, 9:36 AM

Thank you !!

Vincent Monbaron
on 8/18/14, 2:46 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

1 follower(s)

Stats

Asked: 8/12/14, 5:32 AM
Seen: 1418 times
Last updated: 3/16/15, 8:10 AM