Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

odoo 13: inverse name in comodel

Avatar
odoo
Avatar
Discard
3 Answers
0
Avatar
odoo
Best Answer

Hi,

If the both models are defined in same module there wont be issues. Reading the question i understood that you have defined the models in separate modules right ? correct me if i am wrong.

So either you have to make these models in the same module, or give the dependency between module properly and adjust the code.


Thanks

Avatar
Discard
0
Avatar
odoo
Best Answer

Hi, you are affecting two modules: 'comite technique' and the module that has "promoteurs" model. So when starting Odoo server, you need to update both of them, try './odoo-bin -u all'. This command will update all of your modules and start the server.

Avatar
Discard
0
Avatar
odoo
Best Answer

yes @Niyas Raphy, the models are defined in separate modules, how can give the dependency between the modules properly and make it work, please, I will be thankful if you can help me with this. Thank you (Sorry I can't comment so I am writing here in the response)

Avatar
Discard