Skip to Content
Menu
This question has been flagged
3 Replies
3335 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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

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'
Avatar
Discard

@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.

Best Answer

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?

Avatar
Discard