Answers for "custom query odoo"

2

write custom query odoo

self.env.cr.execute("your query goes here ")
values = self.env.cr.dictfetchall() // here you will get the values
 for index in range(0, len(values)):
                print(f"nn {values[index].get('key_name')}  nn")
Posted by: Guest on April-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language