[IMP] account, account type: set report_type as required + added default value for it

bzr revid: qdp-launchpad@tinyerp.com-20100923162632-tl22mkbgqff9xfyt
This commit is contained in:
qdp-launchpad@tinyerp.com 2010-09-23 18:26:32 +02:00
parent 4547ad4eda
commit 63795e3d21
1 changed files with 2 additions and 1 deletions

View File

@ -156,12 +156,13 @@ class account_account_type(osv.osv):
('expense','Profit & Loss (Expense Accounts)'),
('asset','Balance Sheet (Assets Accounts)'),
('liability','Balance Sheet (Liability Accounts)')
],'Type Heads', select=True, readonly=False, help="According value related accounts will be display on respective reports (Balance Sheet Profit & Loss Account)"),
],'Type Heads', select=True, readonly=False, help="According value related accounts will be display on respective reports (Balance Sheet Profit & Loss Account)", required=True),
'note': fields.text('Description'),
}
_defaults = {
'close_method': 'none',
'sign': 1,
'report_type': 'none',
}
_order = "code"