Skip to Content
Menu
This question has been flagged
2 Replies
1660 Views

Hello,

I want to creat reciprocal relation between 2 modules.

I have created 2 modules in odoo " module1" and " module2" , so i want to creat relation between them in the _manifest_.py file.

In the "module1", i have declared the" depends" as follows :  'depends': ['base','module2'],

And in the "module2",  i have declared the "depends" as follows :   'depends': ['base','module1'],

My declaration is wrong or true ? thank you 

Avatar
Discard
Author Best Answer

Thank you Mouhamed.

So, how i can send many2many values from field declared in module 1, to other field declared in module 1 ?

I should creat relation between them, how ?

Avatar
Discard
Best Answer

Hi,

You can't define like that. If you give depends in any module that modules(in depend) will be installed before the module. So this case it will create a recurrent error.

Avatar
Discard