bzr revid: mra@mra-laptop-20100802065505-jc955eu9cc2whvi0
This commit is contained in:
Mustufa Rangwala
2010-08-02 12:25:05 +05:30
parent c96ea26a19
commit 84ff6d950f
+3 -2
View File
@@ -61,6 +61,7 @@ class account_balance(report_sxw.rml_parse, common_report_header):
if header == 0:
self.rml_header = ""
return True
def _get_account(self, data):
if data['model']=='account.account':
return self.pool.get('account.account').browse(self.cr, self.uid, data['form']['id']).company_id.name
@@ -99,8 +100,8 @@ class account_balance(report_sxw.rml_parse, common_report_header):
continue
done[account['id']] = 1
res = {
'id' : account['id'],
'type' : account['type'],
'id': account['id'],
'type': account['type'],
'code': account['code'],
'name': account['name'],
'level': level,