Hello,
I have 2 questions, about two connected modules in ODOO.
1- How to choose which module depend on other (i.e : in depands=['base',....)
2- Which module i should install first to avoid problems and bugs ... etc
Thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I have 2 questions, about two connected modules in ODOO.
1- How to choose which module depend on other (i.e : in depands=['base',....)
2- Which module i should install first to avoid problems and bugs ... etc
Thank you.
Hi Zakaria,
1) You can choose your dependency modules based on your custom module's inheritance/access records. If you have two modules say "A" and "B". Then you need to give depends=['A'] w in your manifest of "B" when ..
+ B is accessing some xml records of "A".
+ B is pooling models that constructed by "A".
+ B is inheriting models that constructed by "A".
2) In this case, you can directly install "B" because you gave "A" in your dependency list. So "A" will install first when you press "B"'s install button. However, I prefer you to install "A" first.
Note: Don't give depends=['A'] in B's manifest, and depends=['B'] in A's manifest. It will raise depends looping error.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
Actually it will generate error , as it depends each other.
Which kind of erreor ?
zak, first you just install it, then you will get some idea, what will happen etc
Thank you Nilmar,
But if also module A access to some XML records of "B" or inherit models of "B" ? what i should do in this case?