bzr revid: mra@mra-laptop-20100729061139-hycqkfc5x1dvefq3
This commit is contained in:
Mustufa Rangwala 2010-07-29 11:41:39 +05:30
parent eda65b864d
commit e1c7a55b79
1 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,7 @@ class account_partner_ledger(osv.osv_memory):
_name = 'account.partner.ledger'
_inherit = 'account.common.partner.report'
_description = 'Account Partner Ledger'
_columns = {
'initial_balance': fields.boolean('Include initial balances',
help='It adds initial balance row on report which display previous sum amount of debit/credit/balance'),
@ -36,9 +37,9 @@ class account_partner_ledger(osv.osv_memory):
'amount_currency': fields.boolean("With Currency", help="It adds the currency column if the currency is different then the company currency"),
}
_defaults = {
'reconcile' : True,
'initial_balance' : True,
'page_split' : False,
'reconcile': True,
'initial_balance': True,
'page_split': False,
}
def _print_report(self, cr, uid, ids, data, query_line, context=None):