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

Portal Access Management error

By
Franz Palfrader
on 7/30/14, 4:26 PM 1,241 views

I have an error on Customer > More > Portal Access Manager - Fileds Contact & Email are blank (the row is visibile with checkbox...)

The error I see while click OK

<<<
Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: partner_id - partner.id]

>>>

The Log error code

<<<

2014-07-30 20:21:36,711 1229 ERROR 8.0 openerp.sql_db: bad query: INSERT INTO "portal_wizard_user" ("id", "in_portal", "wizard_id", "create_uid", "write_uid", "create_date", "write_date") VALUES(nextval('portal_wizard_user_id_seq'), 'False', 4, 1, 1, (now() at time zone 'UTC'), (now() at time zone 'UTC')) RETURNING id
Traceback (most recent call last):
  File "/opt/odoo8/odoo8-server/openerp/sql_db.py", line 230, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "partner_id" violates not-null constraint

2014-07-30 20:21:36,712 1229 ERROR 8.0 openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/opt/odoo8/odoo8-server/openerp/http.py", line 476, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo8/odoo8-server/openerp/http.py", line 495, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo8/odoo8-server/openerp/http.py", line 311, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo8/odoo8-server/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: partner_id - partner.id]')

>>>

Odoo 8.0

 

0
Franz Palfrader
On 7/30/14, 5:45 PM

The issue is reported on Github (1026) https://github.com/odoo/odoo/issues/1026

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: 7/30/14, 4:26 PM
Seen: 1241 times
Last updated: 3/16/15, 8:10 AM