openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08473
Re: [Bug 946138] [NEW] BS and PL filtering by period doesnot work
What if I want the given date in the past?
*Eric CAUDAL*, CEO
eric.caudal@xxxxxxxxxxxxxx <mailto:eric.caudal@xxxxxxxxxxxxxx>
Cell: + 86 186 2136 1670. Skype: elico.corp
*Elico Corp - OpenERP Ready Partner, Shanghai.*
http://www.openerp.net.cn
--
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
Follow ups
References