← Back to team overview

openerp-india team mailing list archive

[Bug 932710] Re: Account profit loss report periods filter not working

 

** Changed in: openobject-addons
       Status: New => Confirmed

-- 
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/932710

Title:
  Account profit loss report periods filter not working

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hello,

  the period filter in the profit and loss report doesn't seem to be working.
  If you look in account/report/account_profit_loss.py (around line 101) :

          if data['form']['filter'] == 'filter_period':
              ctx['periods'] =  data['form'].get('periods', False)

  but data['form']['periods'] is an empty list.
  Shouldn't the ctx be updated like so :

              ctx['period_from']= data['form'].get('period_from', False)
              ctx['period_to']= data['form'].get('period_to', False)

  Thank you very much,
  David.

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


References