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

Odoo 9: help menu missing -> No possibility to activate developer mode

By
Johannes Wagner
on 7/1/16, 3:13 AM 230 views

Why is the help menu to activate developer settings not present in my install? (see screenshot link attached). Also need the technical settings. Any help very much appreciated...

Thanks,  Johannes

https://dl.dropboxusercontent.com/u/8422048/odoo9.png

1

Yenthe

--Yenthe--
6676
| 7 7 8
Turnhout, Belgium
--Yenthe--

My Odoo blog: http://www.odoo.yenthevg.com/

My Twitter: https://twitter.com/Yenthe666

Yenthe
On 7/1/16, 4:32 AM

Hi Johannes,

You can activate the developer mode by modifying the URL too, you don't really need the menuitem.
An example URL from a random page in Odoo:

http://localhost:8080/web#view_type=kanban&model=res.partner&menu_id=313&action=362

When you add ?debug behind /web it'll activate developer mode. This is exactly what clicking on the menuitem does too. So an example result:

http://localhost:8080/web?debug#view_type=kanban&model=res.partner&menu_id=313&action=362

If you really need the menuitem I'd advise you to get the latest code from Github and to update your Odoo environment.

Yenthe

0
Johannes Wagner
On 7/1/16, 5:03 AM

thanks for both answers. It's the default admin, but it's a database that has been migrated from an old server to a newer one. There seem to be some more problems with this install.

@Yenthe, thanks the ?debug works! But the missing menus is annoying.

I guess I just do a clean install again. Wrote an install script that, which I just found out is quite similar to yours on github. Guess will take yours. Is there any reason to not use latest stable for wkhtmltopdf (0.12.3) over 0.12.1. And is someone by now using Odoo9 with 16.04LTS? I just came across an issue with node.js  when I tried a while ago

Btw: trying to change language to english also returns an error:

Server Error
Traceback (most recent call last):
  File "/opt/ / -server/openerp/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/ / -server/openerp/http.py", line 680, in dispatch
    result = self._call_function(**self.params)
  File "/opt/ / -server/openerp/http.py", line 316, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/ / -server/openerp/service/model.py", line 118, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/ / -server/openerp/http.py", line 309, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/ / -server/openerp/http.py", line 959, in __call__
    return self.method(*args, **kw)
  File "/opt/ / -server/openerp/http.py", line 509, in response_wrap
    response = f(*args, **kw)
  File "/opt/ /enterprise/web/controllers/main.py", line 907, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/ /enterprise/web/controllers/main.py", line 899, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/opt/ / -server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/ / -server/addons/hr/hr.py", line 359, in write
    result = super(res_users, self).write(cr, uid, ids, vals, context=context)
  File "/opt/ / -server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/api.py", line 381, in old_api
    result = method(recs, *args, **kwargs)
  File "/opt/ / -server/addons/mail/models/res_users.py", line 62, in write
    write_res = super(Users, self).write(vals)
  File "/opt/ / -server/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/ /custom/addons/access_restricted/models.py", line 36, in write
    return super(ResUsers, self).write(vals)
  File "/opt/ / -server/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/api.py", line 574, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
  File "/opt/ / -server/openerp/addons/base/res/res_users.py", line 862, in write
    return super(users_view, self).write(cr, uid, ids, values, context)
  File "/opt/ / -server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/addons/base/res/res_users.py", line 666, in write
    res = super(users_implied, self).write(cr, uid, ids, values, context)
  File "/opt/ / -server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/addons/base/res/res_users.py", line 364, in write
    res = super(res_users, self).write(cr, uid, ids, values, context=context)
  File "/opt/ / -server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/api.py", line 381, in old_api
    result = method(recs, *args, **kwargs)
  File "/opt/ / -server/openerp/models.py", line 3837, in write
    self._write(old_vals)
  File "/opt/ / -server/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/api.py", line 574, in new_api
    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
  File "/opt/ / -server/openerp/models.py", line 4010, in _write
    self.pool[table].write(cr, user, nids, v, context)
  File "/opt/ / -server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/ / -server/openerp/api.py", line 381, in old_api
    result = method(recs, *args, **kwargs)
  File "/opt/ /custom/addons/partner_contact_in_several_companies/models/res_partner.py", line 87, in write
    return super(ResPartner, modified_self).write(vals)
  File "/opt/ / -server/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/ /custom/addons/base_partner_sequence/models/partner.py", line 62, in write
    vals['ref'] = self._get_next_ref(partner, vals)
  File "/opt/ / -server/openerp/api.py", line 248, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/ /custom/addons/base_partner_sequence/models/partner.py", line 44, in _get_next_ref
    if vals['customer'] == False and vals['supplier'] == False:
KeyError: 'customer'

@Johannes: good to hear it atleast gives you developer mode. The reason that wkhtmltopdf 0.12.1 is used in place of 0.12.3 is because 0.12.3 is not officially supported by Odoo and has some issues with generating reports correctly. As for Ubuntu 16.04: I have about 5 Odoo's running on Ubuntu 16.04 without problems at this point.

Yenthe
on 7/1/16, 5:22 AM
0

Ermin Trevisan

--Ermin Trevisan--
3524
| 6 3 7
Walchwil, Switzerland
--Ermin Trevisan--


Ermin Trevisan
On 7/1/16, 3:21 AM

Is this the default admin user? Did you change  any settings for the default admin user instead of duplicating it? Did you try to use english language?

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

2 follower(s)

Stats

Asked: 7/1/16, 3:13 AM
Seen: 230 times
Last updated: 7/1/16, 5:03 AM