[IMP] dispay accounts with good sequence

bzr revid: mra@mra-laptop-20100715115203-4n8a3fk26yl212dm
This commit is contained in:
Mustufa Rangwala 2010-07-15 17:22:03 +05:30
parent 6fe2ae2100
commit 6be2c77e72
4 changed files with 13 additions and 12 deletions

View File

@ -31,10 +31,9 @@ class account_bs_report(osv.osv_memory):
_description = 'Account Balance Sheet Report'
_columns = {
'display_account': fields.selection([('bal_movement','With movements'),
('bal_solde','With balance is not equal to 0'),
('bal_all','All'),
],'Display accounts'),
'display_account': fields.selection([('bal_all','All'), ('bal_mouvement','With movements'),
('bal_solde','With balance is not equal to 0'),
],'Display accounts', required=True),
'display_type': fields.boolean("Landscape Mode"),
'reserve_account_id': fields.many2one('account.account', 'Reserve & Surplus Account',required = True,
help='This Account is used for trasfering Profit/Loss(If It is Profit : Amount will be added, Loss : Amount will be duducted.), Which is calculated from Profilt & Loss Report', domain = [('type','=','payable')]),

View File

@ -40,9 +40,10 @@ class account_general_ledger_report(osv.osv_memory):
'periods': fields.many2many('account.period', 'ledger_period_rel', 'ledger_id', 'period_id', 'Periods', help='All periods if empty' ),
'sortbydate': fields.selection([('sort_date','Date'),
('sort_mvt','Movement')],"Sort by:"),
'display_account': fields.selection([('bal_mouvement','With movements'),
('bal_all','All'),
('bal_solde','With balance is not equal to 0')],"Display accounts"),
'display_account': fields.selection([('bal_all','All'), ('bal_mouvement','With movements'),
('bal_solde','With balance is not equal to 0'),
],'Display accounts', required=True),
'landscape': fields.boolean("Landscape Mode"),
'soldeinit': fields.boolean("Include initial balances"),
'amount_currency': fields.boolean("With Currency"),

View File

@ -31,10 +31,9 @@ class account_pl_report(osv.osv_memory):
_description = "Account Profit And Loss Report"
_columns = {
# 'company_id': fields.many2one('res.company', 'Company', required=True),
'display_account': fields.selection([('bal_movement','With movements'),
('bal_solde','With balance is not equal to 0'),
('bal_all','All'),
],'Display accounts'),
'display_account': fields.selection([('bal_all','All'), ('bal_mouvement','With movements'),
('bal_solde','With balance is not equal to 0'),
],'Display accounts', required=True),
'display_type': fields.boolean("Landscape Mode"),
}

View File

@ -28,7 +28,9 @@ class account_report_general_ledger(osv.osv_memory):
_description = "General Ledger Report"
_columns = {
'display_account': fields.selection([('bal_mouvement','With movements'), ('bal_all','All'), ('bal_solde','With balance is not equal to 0')],"Display accounts", required=True),
'display_account': fields.selection([('bal_all','All'), ('bal_mouvement','With movements'),
('bal_solde','With balance is not equal to 0'),
],'Display accounts', required=True),
'landscape': fields.boolean("Landscape Mode"),
'soldeinit': fields.boolean("Include initial balances"),
'amount_currency': fields.boolean("With Currency"),