Skip to Content
Menu
This question has been flagged
1 Reply
4389 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
    request.context)
  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
    cr.execute(statement)
  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.

Avatar
Discard
Best Answer

Try this:


sudo su postgres

psql my_database

ALTER USER odoo WITH SUPERUSER;

Avatar
Discard
Related Posts Replies Views Activity
3
Dec 21
7931
0
Jun 21
2007
1
Dec 17
5154
2
Mar 24
10278
5
Dec 23
10389