openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08640
Re: [Bug 946138] [NEW] BS and PL filtering by period doesnot work
*** This bug is a duplicate of bug 932710 ***
https://bugs.launchpad.net/bugs/932710
Then filter is still the wrong term.
Profit and loss is between 2 dates or periods.
Balance sheet is as at a date (or end period). A balance sheet by
definition is not from - to in nature, it is the balance of the accounts at
a given date.
On Mon, Mar 5, 2012 at 1:17 PM, Eric Caudal - www.openerp.net.cn <
eric.caudal@xxxxxxxxxxxxxx> wrote:
> 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 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
>
--
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