[IMP] account: inhetrit from mail.thread

bzr revid: tpa@tinyerp.com-20120507120707-dgwdaum3wjzb8mi8
This commit is contained in:
Turkesh Patel (Open ERP) 2012-05-07 17:37:07 +05:30
parent 3a741fc37a
commit b05b6720dd
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ class account_bank_statement(osv.osv):
_order = "date desc, id desc"
_name = "account.bank.statement"
_description = "Bank Statement"
_inherit = ['mail.thread']
_columns = {
'name': fields.char('Name', size=64, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='if you give the Name other then /, its created Accounting Entries Move will be with same name as statement name. This allows the statement entries to have the same references than the statement itself'), # readonly for account_cash_statement
'date': fields.date('Date', required=True, states={'confirm': [('readonly', True)]}, select=True),