← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 801348] Re: bank statement - default value for balance_start

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-bug-801348-bde

-- 
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):
  Confirmed

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