Skip to Content
Menu
This question has been flagged
2022 Views

I need to do a filter search in the list view for a date compute field in product.product


class ProductProduct(models.Model):

     _inherit = 'product.product'

     date_last = fields.Date(compute="_date_last" search="search_date" )

   

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 22
2697
1
Apr 21
689
0
Apr 21
1235
1
Nov 20
1412
2
Jun 20
1695