Skip to content

Commit

Permalink
RM-90121 Add filters
Browse files Browse the repository at this point in the history
  • Loading branch information
mea-axelor committed Feb 3, 2025
1 parent 33f924c commit 8608145
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions axelor-project/src/main/resources/views/Dashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,12 @@
<view name="project-task-dashboard-grid" type="grid"/>
<view name="project-task-form" type="form"/>
<view-param name="popup" value="true"/>
<domain> (date(self.taskDate) &lt;= date(:toDate) and date(self.taskDate) &lt;= date(:fromDate) )
<domain> (date(self.taskDate) &lt;= date(:toDate) and date(self.taskDate) &lt;= date(:fromDate)
)
and
(self.project=:project OR :project IS NULL) and
(self.assignedTo.employee =:employee OR :employee IS
(self.assignedTo.employee =:employee OR
:employee IS
NULL)

</domain>
Expand All @@ -376,7 +378,16 @@
(date(self.endDateTime) &lt;= date(:toDate) and date(self.endDateTime)
&gt;= date(:fromDate) ))
and
(self.project=:project OR :project IS NULL)</domain>
(self.project=:project OR :project IS NULL)
and
(self.employee
=:employee OR :employee IS
NULL)
</domain>




</action-view>
<action-view name="project-allocation-line-action"
model="com.axelor.apps.hr.db.AllocationLine" title="Project allocation lines">
Expand Down

0 comments on commit 8608145

Please sign in to comment.