Skip to content

Commit

Permalink
[IMP] project(_todo): remove "Closed On" filter
Browse files Browse the repository at this point in the history
The "Closed On" filter in project and project_todo relies on using a date filter
in conjunction with a domain, which is not possible before odoo#156746.

This commit removes those filters, as they don't work before the above PR.

Task-3973609

closes odoo#175030

Signed-off-by: Xavier Bol (xbo) <[email protected]>
  • Loading branch information
MissingNoShiny committed Sep 17, 2024
1 parent 1a4672b commit 1c685b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/project/views/project_task_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<separator/>
<filter string="Open Tasks" name="open_tasks" domain="[('state', 'in', ['01_in_progress', '02_changes_requested', '03_approved', '04_waiting_normal'])]"/>
<filter string="Closed Tasks" name="closed_tasks" domain="[('state', 'in', ['1_done','1_canceled'])]"/>
<filter string="Closed On" name="closed_on" domain="[('state', 'in', ['1_done','1_canceled'])]" date="date_last_stage_update"/>
<filter string="Closed On" name="closed_on" domain="[('state', 'in', ['1_done','1_canceled'])]" date="date_last_stage_update" invisible="1"/>
<separator/>
<filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
<group expand="0" string="Group By">
Expand Down
2 changes: 1 addition & 1 deletion addons/project_todo/views/project_task_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
<field name="personal_stage_type_ids" string="Stage"/>
<filter name="open_tasks" string="Open" domain="[('state', 'in', ['01_in_progress', '02_changes_requested', '03_approved', '04_waiting_normal'])]"/>
<filter name="closed_tasks" string="Closed" domain="[('state', 'in', ['1_done','1_canceled'])]"/>
<filter string="Closed On" name="closed_on" domain="[('state', 'in', ['1_done','1_canceled'])]" date="date_last_stage_update"/>
<filter string="Closed On" name="closed_on" domain="[('state', 'in', ['1_done','1_canceled'])]" date="date_last_stage_update" invisible="1"/>
<separator/>
<filter name="active_false" string="Archived" domain="[('active', '=', False)]"/>
<filter invisible="1" string="Late Activities" name="activities_overdue"
Expand Down

0 comments on commit 1c685b9

Please sign in to comment.