Selaa lähdekoodia

Agregar filtros de referencia de factura en account_voucher

sebas 3 vuotta sitten
vanhempi
commit
67be63ef5a
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      view/account_voucher_view.xml

+ 1 - 0
view/account_voucher_view.xml

@@ -10,6 +10,7 @@
               <search>
                   <field name="partner_id" operator="child_of"/>
                   <field name="name" string="Recibo Nº"/>
+                  <field name="reference" string="Referencia Factura Nº"/>
                   <separator/>
                   <filter string="Este año" name="year" domain="[('date','&lt;=', time.strftime('%%Y-12-31')),('date','&gt;=',time.strftime('%%Y-01-01'))]"/>
                   <filter string="Año pasado  " domain="[('date','&gt;=',(context_today()-relativedelta(years=1)).strftime('%%Y-01-01')),('date','&lt;=', time.strftime('%%Y-01-01'))]"/>