I can't find any information about the order of dependencies when installing modules. I'm talking about the case where you don't specify any dependencies in __manifest__, just install the modules in some (random) order.
This is a big deal when it comes to overriding class methods and properties both in python and javascript.
Example: Lets say I have 2 modules that each override a method in res.partner, something like the code below.
Which one will run first? And what happens if you update the module that don't run first?
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.model_cr
def init(self):
super(ResPartner, self).init()
# some custom code
Sorry about the formating, the editor kind of suck..