Browse Source

Agregar filtros número de recibo en pagos

sebas 3 years ago
parent
commit
b7e7ccb443

+ 0 - 0
__init__.py


BIN
__init__.pyc


+ 0 - 0
__openerp__.py


+ 0 - 0
account_voucherfilter.py


BIN
account_voucherfilter.pyc


+ 0 - 0
static/description/icon.png


+ 2 - 0
view/account_voucher_view.xml

@@ -8,6 +8,8 @@
             <field name="inherit_id" ref="account_voucher.view_voucher_filter_customer_pay"/>
             <field name="arch" type="xml">
               <search>
+                  <field name="partner_id" operator="child_of"/>
+                  <field name="name" string="Recibo 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'))]"/>