From 6f9f58b9efb5957d8d7ebe481f6ac97198e637d6 Mon Sep 17 00:00:00 2001
From: jordan <jordan@le-filament.com>
Date: Thu, 18 Feb 2021 11:55:59 +0100
Subject: [PATCH]  [update] filter on nb_quarter

---
 views/account_invoice.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/views/account_invoice.xml b/views/account_invoice.xml
index b350c20..fa5e50c 100644
--- a/views/account_invoice.xml
+++ b/views/account_invoice.xml
@@ -83,6 +83,11 @@
                     <separator/>
                     <filter name="cotiz_equal_zero" domain="[('amount_total','=',0)]" string="Cotisation(s) égale(s) à 0"/>
                     <separator/>
+                    <filter name="4_quarter" string="Sur 4 trimestres" domain="[('nb_quarter', '=', '4')]"/>
+                    <filter name="3_quarter" string="Sur 3 trimestres" domain="[('nb_quarter', '=', '3')]"/>
+                    <filter name="2_quarter" string="Sur 2 trimestres" domain="[('nb_quarter', '=', '2')]"/>
+                    <filter name="1_quarter" string="Sur 1 trimestre" domain="[('nb_quarter', '=', '1')]"/>
+                    <separator/>
                     <field name="partner_id" operator="child_of"/>
                     <field name="number" string="Invoice" context="{'active_test': False}" filter_domain="['|','|','|', ('number','ilike',self), ('origin','ilike',self), ('reference', 'ilike', self), ('partner_id', 'child_of', self)]"/>
                     <!-- <field name="user_id" string="Salesperson" domain="[('share','=', False)]"/>-->
-- 
GitLab