c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #32171
[Bug 801348] Re: bank statement - default value for balance_start
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/801348
Title:
bank statement - default value for balance_start
Status in OpenERP Addons (modules):
Fix Released
Bug description:
In addons/account/account_bank_statement.py, class
account.bank.statement, the default value for balance_start is
calculated in the _default_balance_start method. However, in that
method, the select is executed always against journal_id = 1. The
default value for journal_id is calculated in the _default_journal_id
method, where the journal selected is filtered by a domain clause
based on the context. I think that the _default_balance_start method
should also select the journal as the _default_journal_id method is
done instead of using journal_id = 1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/801348/+subscriptions
References