This question has been flagged
1 Reply
3955 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

 

Avatar
Discard
Author Best Answer

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

Avatar
Discard