Odoo Help


Permission denied relation for ir_sequence_050 in Odoo ?

on 8/19/15, 7:28 AM 965 views

Hi All,

Odoo Server Error

Traceback (most recent call last):
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 537, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 574, in dispatch
    result = self._call_function(**self.params)
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 310, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 307, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 803, in __call__
    return self.method(*args, **kw)
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 403, in response_wrap
    response = f(*args, **kw)
  File "/opt/Odoo86/Odoo86/openerp/addons/web/controllers/main.py", line 884, in search_read
    return self.do_search_read(model, fields, offset, limit, domain, sort)
  File "/opt/Odoo86/Odoo86/openerp/addons/web/controllers/main.py", line 905, in do_search_read
  File "/opt/Odoo86/Odoo86/openerp/http.py", line 908, in proxy
    result = meth(cr, request.uid, *args, **kw)
  File "/opt/Odoo86/Odoo86/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/models.py", line 5146, in search_read
    result = self.read(cr, uid, record_ids, fields, context=read_ctx)
  File "/opt/Odoo86/Odoo86/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/models.py", line 3141, in read
    result = BaseModel.read(records, fields, load=load)
  File "/opt/Odoo86/Odoo86/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/models.py", line 3176, in read
    self._read_from_database(stored, inherited)
  File "/opt/Odoo86/Odoo86/openerp/api.py", line 239, in wrapper
    return new_api(self, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/models.py", line 3354, in _read_from_database
    res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)
  File "/opt/Odoo86/Odoo86/openerp/osv/fields.py", line 1468, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
  File "/opt/Odoo86/Odoo86/openerp/addons/base/ir/ir_sequence.py", line 73, in _get_number_next_actual
  File "/opt/Odoo86/Odoo86/openerp/sql_db.py", line 158, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/Odoo86/Odoo86/openerp/sql_db.py", line 234, in execute
    res = self._obj.execute(query, params)
ProgrammingError: permission denied for relation ir_sequence_050,

when I click the save button it is showing

Please any one help me

Thanks in Advance.

On 8/1/17, 5:12 AM

Try this:

sudo su postgres

psql my_database


About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/19/15, 7:28 AM
Seen: 965 times
Last updated: 8/1/17, 5:12 AM