← Back to team overview

openerp-india team mailing list archive

[Bug 932952] Re: double filter in seach view of hr_expense

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
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):
  In Progress

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


References