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
|Asked: 6/8/14, 1:59 PM|
|Seen: 499 times|
|Last updated: 3/16/15, 8:10 AM|