hi everyone,
I have a class
<code>
class product_extend(osv.osv):
def convert(....):
return result
product_extend()
</code>
So how I can convert() method in another class, I tried this in product_product class as normally in python syntax but get error when run time
test = product_extend()
test.convert()
Does anyone have any idea ? I will appreciate.
Thanks, Duy.
Use class instance to call method: https://learnopenerp.blogspot.com/2020/08/unbound-method-call-controller-function-from-another-controller-odoo.html