Odoo Help


Odoo [10] - [object with reference: account_id - account.id] Error while creating payment vor invoice

Tom L
on 3/6/17, 11:59 AM 939 views

I'm creating payment for invoice and facing this error for all invoices:

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: account_id - account.id]

can someone guide me to solve this issue?

This error sometime come because you create relational field with same name and different relation model

on 3/15/17, 2:27 AM

Post your Code and we will be able to help you

Esther Martín
on 4/29/17, 9:55 AM
On 6/1/17, 11:21 AM

Hi Mohammed, I have the same error and I checked the account.payment table and odoo created a record with the payment    but still have this error. what else could be the error?

Thanks in advanced!


Mohammed Amal

--Mohammed Amal--

| 5 3 7
Malappuram, India
--Mohammed Amal--

Email : mohammedamal.n@gmail.com

Mohammed Amal
On 4/30/17, 5:04 AM

This means you did not correctly set or did not set a value to account_id while creating payment.

Check create method in account.payment for more details

If you need more help. Please post your code

Mohammed Amal
on 4/30/17, 5:04 AM

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

2 follower(s)


Asked: 3/6/17, 11:59 AM
Seen: 939 times
Last updated: 6/1/17, 11:21 AM