Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
i have used many2one fields in so many places in my custom module. It is woking fine on all others databases, but on only one datatbase, when i try to update module, it gives error: like Programming error: there is no primary key for reference table res_user
Generates error on following code.
for the time i removed the above code, but later on it gives same errors on other line of code where i used many2one. I gues there is some problem with the database.
It updates without any error on other databases, problem occurs with only one database
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 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/8/14, 1:59 PM|
|Seen: 567 times|
|Last updated: 3/16/15, 8:10 AM|