浏览代码

Agregar filtros número de recibo en pagos

sebas 3 年之前
父节点
当前提交
b7e7ccb443
共有 7 个文件被更改,包括 2 次插入0 次删除
  1. 0 0
      __init__.py
  2. 二进制
      __init__.pyc
  3. 0 0
      __openerp__.py
  4. 0 0
      account_voucherfilter.py
  5. 二进制
      account_voucherfilter.pyc
  6. 0 0
      static/description/icon.png
  7. 2 0
      view/account_voucher_view.xml

+ 0 - 0
__init__.py


二进制
__init__.pyc


+ 0 - 0
__openerp__.py


+ 0 - 0
account_voucherfilter.py


二进制
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'))]"/>