Suppose you have this
my_prod = self.pool.get ('product.product').browse (cr, uid, [16])
Say we know almost nothing of this object, my question: Is there a way to get all possible methods and members of my_prod?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Suppose you have this
my_prod = self.pool.get ('product.product').browse (cr, uid, [16])
Say we know almost nothing of this object, my question: Is there a way to get all possible methods and members of my_prod?
self.answer.attempt:
If we had "prod_pool_object = self.pool.get ('product.product')" instead
then a possible answer would be: "prod_pool_object.fields_get_keys(cr, uid)"
Create an account today to enjoy exclusive features and engage with our awesome community!
Регистрация