← Back to team overview

openerp-india team mailing list archive

[Bug 932952] [NEW] double filter in seach view of hr_expense

 

Public bug reported:

In current addons-trunk :
in hr_expense/hr_expense_view.xml :
in search view id="view_hr_expense_filter", there is a double filter entry (domains are identical) :

line 151 :

<filter icon="terp-personal+" context="{'invisible_department': False}"
domain="[('department_id','=',context.get('department_id',False))]"
help="My Department"/>

line 155/156 :

<filter icon="terp-personal+" domain="[('department_id','=',context.get('department_id',False))]"
         string="Expenses of My Department"/>

It seems to me that we should remove the second filter entry.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/932952

Title:
  double filter in seach view of hr_expense

Status in OpenERP Addons (modules):
  New

Bug description:
  In current addons-trunk :
  in hr_expense/hr_expense_view.xml :
  in search view id="view_hr_expense_filter", there is a double filter entry (domains are identical) :

  line 151 :

  <filter icon="terp-personal+" context="{'invisible_department':
  False}"
  domain="[('department_id','=',context.get('department_id',False))]"
  help="My Department"/>

  line 155/156 :

  <filter icon="terp-personal+" domain="[('department_id','=',context.get('department_id',False))]"
           string="Expenses of My Department"/>

  It seems to me that we should remove the second filter entry.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/932952/+subscriptions


Follow ups

References