[FIX] for bug 753651 cannot select account for bank statement
lp bug: https://launchpad.net/bugs/753651 fixed bzr revid: bogdanovidiu.stanciu@gmail.com-20110407150657-76j88ckl5y1pd1jd
This commit is contained in:
parent
b1310a9814
commit
8aebdc308c
|
@ -161,6 +161,7 @@ class account_bank_statement(osv.osv):
|
|||
'balance_start': _default_balance_start,
|
||||
'journal_id': _default_journal_id,
|
||||
'period_id': _get_period,
|
||||
'company_id': lambda self,cr,uid,c: self.pool.get('res.company')._company_default_get(cr, uid, 'account.bank.statement',context=c),
|
||||
}
|
||||
|
||||
def onchange_date(self, cr, user, ids, date, context=None):
|
||||
|
|
Loading…
Reference in New Issue