c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27741
[Bug 801348] Re: bank statement - default value for balance_start
Hello Manu,
The Revision Number and Revision ID of this bug are as follows:
Revision Number : 4836
Revision ID : bde@tiny2-desktop-20110630134250-1qu7vdtvtnrb3266
Thanks for reporting this bug. This bug is been solved and will be
merged in addons soon.
Thanks & Regards,
Devnani Bharat R.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/801348
Title:
bank statement - default value for balance_start
Status in OpenERP Modules (addons):
Fix Committed
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