bzr revid: mra@mra-laptop-20100714085054-n6t9zvqquvac1bdu
This commit is contained in:
Mustufa Rangwala
2010-07-14 14:20:54 +05:30
parent fa71996516
commit ddc879ec55
+9 -9
View File
@@ -64,16 +64,16 @@ class account_pl_report(osv.osv_memory):
if data['form']['filter'] == 'bydate':
return self._check_date(cr, uid, data, context=context)
if data['form']['display_type']:
return { 'type': 'ir.actions.report.xml',
'report_name': 'pl.account.horizontal',
'datas': data,
'nodestroy':True,
}
return {'type': 'ir.actions.report.xml',
'report_name': 'pl.account.horizontal',
'datas': data,
'nodestroy':True,
}
else:
return { 'type': 'ir.actions.report.xml',
'report_name': 'pl.account',
'datas': data,
'nodestroy':True,
return {'type': 'ir.actions.report.xml',
'report_name': 'pl.account',
'datas': data,
'nodestroy':True,
}
account_pl_report()