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" )
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" )
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
0
2月 22
|
5610 | |||
|
1
4月 21
|
2774 | |||
|
0
4月 21
|
3677 | |||
|
1
11月 20
|
3520 | |||
|
2
6月 20
|
3609 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.