diff options
| author | Yannick Tivisse <yti@odoo.com> | 2020-06-04 07:34:58 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-06-09 10:50:17 +0000 |
| commit | 893ec20236251f84dba117c709dd892645b78b9a (patch) | |
| tree | 535b6583857709eb94be75769538738859607d8d /addons/rating | |
| parent | a3e5ac19b20d79e1d90166961de792a0bd31e550 (diff) | |
[IMP] various: Add date filters on search views
PURPOSE
=======
The task aims at adding date filters across various modules in preparation
for the 'time range' feature rework on task 2245719
https://www.odoo.com/web#id=2245719&action=327&model=project.task&view_type=form&cids=1&menu_id=4720
SPECIFICATION
=============
New date filters to compensate the deprecated time ranges feature:
See task's pad for the complete details
closes odoo/odoo#52398
Taskid: 2263661
Related: odoo/enterprise#10938
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/rating')
| -rw-r--r-- | addons/rating/views/rating_rating_views.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/rating/views/rating_rating_views.xml b/addons/rating/views/rating_rating_views.xml index 06c566c2f2f..6d5d0076ba5 100644 --- a/addons/rating/views/rating_rating_views.xml +++ b/addons/rating/views/rating_rating_views.xml @@ -138,6 +138,8 @@ <filter string="Highly dissatisfied" name="rating_unhappy" domain="[('rating_text', '=', 'highly_dissatisfied')]"/> <separator/> <filter string="My Ratings" name="my_ratings" domain="[('rated_partner_id.user_ids', 'in', [uid])]"/> + <separator/> + <filter name="filter_create_date" date="create_date"/> <group expand="0" string="Group By"> <filter string="Rated User" name="responsible" context="{'group_by':'rated_partner_id'}"/> <filter string="Customer" name="customer" context="{'group_by':'partner_id'}"/> |
