100. Searchable Non Stored Compute Field In Odoo | How To Define Search Function For Field In Odoo
Вставка
- Опубліковано 5 жов 2024
- How to define search function In Odoo. How to make non stored compute field in odoo searchable. Steps to create search function for a field in Odoo. Define search function for field in Odoo. Search function for non stored fields. How to use compute field in odoo search view. Non stored fields in Odoo search view.
Odoo 15 Playlist: • How To Configure Odoo1...
Website: www.odoomates....
Instgram: / odoomates
Github: github.com/odo...
Email : odoomates@gmail.com
Facebook: / odoomate
Twitter: / odoomates
Support Us in Ko Fi : ko-fi.com/odoo...
This is great!. Thanks for sharing!
Glad you enjoyed it!
That's glorious! Thanks mates.
Glad you enjoyed it!
Good information
thanks brother
@@OdooMates is it works in odoo13
@@9441508831 yes it will work
Thanks
Welcome
Not quite correct logic. Reworked a little.
def _search_age(self, operator, value):
date_of_birth = date.today() - relativedelta.relativedelta(years=value)
start_of_date = date_of_birth - relativedelta.relativedelta(years=1)
return [('date_of_birth', '>', start_of_date), ('date_of_birth', '
thanks for sharing
please help how can we use computed field in filter or group by but the computed field is not take store = True
ua-cam.com/video/0G48MaOZZIY/v-deo.html
This video explains this case with example