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

If i try to delete a partner i get an error message:

By
Michael Karrer
on 3/26/15, 11:17 AM 692 views



Traceback (most recent call last):

File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 530, in _handle_exception

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

File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 567, in dispatch

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

File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 303, in _call_function

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

File "/opt/odoo_v8.0/intdadi/odoo/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 300, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 796, in __call__

return self.method(*args, **kw)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/http.py", line 396, in response_wrap

response = f(*args, **kw)

File "/opt/odoo_v8.0/intdadi/odoo/addons/web/controllers/main.py", line 935, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/addons/web/controllers/main.py", line 927, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/addons/project_timesheet/project_timesheet.py", line 299, in unlink

context=context)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/addons/base/res/res_partner.py", line 537, in unlink

return super(res_partner, self).unlink(cr, uid, ids, context=context)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/addons/mail/mail_thread.py", line 445, in unlink

res = super(mail_thread, self).unlink(cr, uid, ids, context=context)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/models.py", line 3599, in unlink

'where id IN %s', (sub_ids,))

File "/opt/odoo_v8.0/intdadi/odoo/openerp/sql_db.py", line 158, in wrapper

return f(self, *args, **kwargs)

File "/opt/odoo_v8.0/intdadi/odoo/openerp/sql_db.py", line 234, in execute

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

OperationalError: record "new" is not assigned yet

DETAIL: The tuple structure of a not-yet-assigned record is indeterminate.

CONTEXT: PL/pgSQL function sync_triggerfunction_delete_res_partner() line 5 at IF

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: 3/26/15, 11:17 AM
Seen: 692 times
Last updated: 3/26/15, 12:39 PM