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

Getting Error when click on Enable password reset from Login page in General setting

By
Akhilesh Gupta
on 11/23/15, 1:54 AM 394 views

2015-11-23 06:41:15,677 6864 INFO ? werkzeug: 127.0.0.1 - - [23/Nov/2015 06:41:15] "GET /web/static/src/img/icons/gtk-execute.png HTTP/1.1" 200 -

2015-11-23 06:41:18,466 6864 ERROR openerp.sql_db: bad query: INSERT INTO "base_config_settings" ("id", "alias_domain", "module_google_drive", "module_base_import", "auth_signup_uninvited", "module_share", "module_google_calendar", "module_portal", "font", "module_auth_oauth", "auth_signup_reset_password", "module_multi_company", "auth_signup_template_user_id", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('base_config_settings_id_seq'), 'localhost', false, true, false, true, false, true, NULL, false, true, false, 4, 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id

Traceback (most recent call last):

File "/home/workspace/odoo/openerp/sql_db.py", line 234, in execute

res = self._obj.execute(query, params)

IntegrityError: insert or update on table "base_config_settings" violates foreign key constraint "base_config_settings_auth_signup_template_user_id_fkey"

DETAIL: Key (auth_signup_template_user_id)=(4) is not present in table "res_users".

2015-11-23 06:41:18,477 6864 ERROR openerp.http: Exception during JSON request handling.

Traceback (most recent call last):

File "/home/workspace/odoo/openerp/http.py", line 526, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/home/workspace/odoo/openerp/http.py", line 563, in dispatch

result = self._call_function(**self.params)

File "/home/workspace/odoo/openerp/http.py", line 303, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/home/workspace/odoo/openerp/service/model.py", line 149, in wrapper

raise openerp.osv.orm.except_orm(_('Integrity Error'), msg)

except_orm: ('Integrity Error', 'The operation cannot be completed, probably due to the following:\n- deletion: you may be trying to delete a record while other records still reference it\n- creation/update: a mandatory field is not correctly set\n\n[object with reference: Users - res.users]')

Help! Thanks in advance

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: 11/23/15, 1:54 AM
Seen: 394 times
Last updated: 11/26/15, 12:22 AM