I'm using odooV10
.
I want to know every model's methods without searching it manually, but I couldn't find anywhere to achieve this. Is anyone have any idea?
I'm using odooV10
.
I want to know every model's methods without searching it manually, but I couldn't find anywhere to achieve this. Is anyone have any idea?
well you can simply dir(model)
ie.
any_method_on_your_model(self):
print dir(self)
you will see all the properties included in the object.
Activate the Developer Mode in OdooV10. Then go Setting(odoo Main Settings)--> Technical -->Models. Here you can find all models, fields, views and constraints. I hope this will work for you. if not explain what you want trying to do.?
In python you can get method of class get methods of class
but the problem here odoo inherits mechanism prevent you from doing this. when you call a method a very complicated operation to create an object with that method from the inherited classes