Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
afac_membership
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
AFAC
afac_membership
Commits
6d4dfd2b
Commit
6d4dfd2b
authored
8 months ago
by
Benjamin - Le Filament
Browse files
Options
Downloads
Patches
Plain Diff
[UPD] add filters for member line view
parent
0e5df6e9
Branches
14.0
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/membership_membership_line.xml
+28
-0
28 additions, 0 deletions
views/membership_membership_line.xml
with
28 additions
and
0 deletions
views/membership_membership_line.xml
+
28
−
0
View file @
6d4dfd2b
...
@@ -17,6 +17,22 @@
...
@@ -17,6 +17,22 @@
name=
"this_year"
name=
"this_year"
domain=
"[('date_to','<=', time.strftime('%%Y-12-31')), ('date_to','>=',time.strftime('%%Y-01-01'))]"
domain=
"[('date_to','<=', time.strftime('%%Y-12-31')), ('date_to','>=',time.strftime('%%Y-01-01'))]"
/>
/>
<filter
string=
"L'année dernière"
name=
"last_year"
domain=
"[ ('date_to', '>=', (context_today()-relativedelta(years=1)).strftime('%Y-01-01')), ('date_to', '<=', (context_today()-relativedelta(years=1)).strftime('%Y-12-31'))]"
/>
<separator
/>
<filter
string=
"Adhésion nationale"
name=
"national"
domain=
"[('category_id.name', '=', 'National')]"
/>
<filter
string=
"Adhésion régionale"
name=
"regional"
domain=
"[('category_id.name', '=', 'Régional')]"
/>
<group
expand=
"0"
name=
"group_by"
string=
"Group By"
>
<group
expand=
"0"
name=
"group_by"
string=
"Group By"
>
<filter
<filter
name=
"group_date_to"
name=
"group_date_to"
...
@@ -28,6 +44,18 @@
...
@@ -28,6 +44,18 @@
string=
"Statut"
string=
"Statut"
context=
"{'group_by': 'state'}"
context=
"{'group_by': 'state'}"
/>
/>
<separator
/>
<filter
name=
"group_region"
string=
"Région d'implantation"
context=
"{'group_by': 'region_id'}"
/>
<separator
/>
<filter
name=
"group_category"
string=
"Catégorie d'adhésion"
context=
"{'group_by': 'category_id'}"
/>
</group>
</group>
</search>
</search>
</field>
</field>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment