← Back to team overview

openerp-india team mailing list archive

[Bug 946138] Re: BS and PL filtering by period doesnot work

 

*** This bug is a duplicate of bug 932710 ***
    https://bugs.launchpad.net/bugs/932710

** This bug has been marked a duplicate of bug 932710
   Account profit loss report periods filter not working

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

Title:
  BS and PL filtering by period doesnot work

Status in OpenERP Addons (modules):
  New

Bug description:
  In v6.0, when editing a balance sheet or Profit and loss, filtering by period doesnot work at all due to the following piece of code:
  in report/account_balance_sheet.py:
              ctx['periods'] = data['form'].get('periods', False)
  should be replaced by:
              ctx['period_from'] = data['form'].get('period_from', False)
              ctx['period_to'] = data['form'].get('period_to', False)
  and in report/account_profit_loss.py:
              ctx['periods'] = data['form'].get('periods', False)
  should be replaced by:
              ctx['period_from'] = data['form'].get('period_from', False)
              ctx['period_to'] = data['form'].get('period_to', False)

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


References