Odoo Help


isuue in e-commerce module for add product

on 6/28/16, 1:40 AM 940 views


in odoo v9 when i try to add product so it return following error

trace back is

2016-06-28 04:37:01,757 1441 INFO admin openerp.sql_db: bad query: INSERT INTO "mail_followers" ("id", "res_model", "res_id", "partner_id") VALUES(nextval('mail_followers_id_seq'), 'product.product', 3, 3) RETURNING id

2016-06-28 04:37:01,758 1441 ERROR admin openerp.addons.website.models.ir_http: 500 Internal Server Error:

Traceback (most recent call last):

File "/opt/odoo/addons/website/models/ir_http.py", line 242, in _handle_exception

response = super(ir_http, self)._handle_exception(exception)

File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 157, in _handle_exception

return request._handle_exception(exception)

File "/opt/odoo/openerp/http.py", line 781, in _handle_exception

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

File "/opt/odoo/openerp/addons/base/ir/ir_http.py", line 182, in _dispatch

result = request.dispatch()

File "/opt/odoo/openerp/http.py", line 840, in dispatch

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

File "/opt/odoo/openerp/http.py", line 316, in _call_function

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

File "/opt/odoo/openerp/service/model.py", line 140, in wrapper

raise ValidationError(tr(registry._sql_error[key], 'sql_constraint') or inst[0])

ValidationError: ('Error, a partner cannot follow twice the same object.', None)

so plz tell me how can i solve this error

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: 6/28/16, 1:40 AM
Seen: 940 times
Last updated: 6/28/16, 1:44 AM