[IMP] account: Improve the report and add nodestroy in wizard

bzr revid: sbh@tinyerp.com-20100729054345-akpfrt8kewvxoevu
This commit is contained in:
sbh (Open ERP) 2010-07-29 11:13:45 +05:30
parent 2a0bc1ed58
commit 6a203f008a
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@
<para style="P11">
<font color="white"> </font>
</para>
<blockTable colWidths="81.0,56.0,64.0,88.0,150.0,84.0" style="Table8">
<blockTable colWidths="81.0,56.0,64.0,88.0,140.0,90.0" style="Table8">
<tr>
<td>
<para style="terp_tblheader_General_Centre">Chart of Account</para>

View File

@ -28,7 +28,7 @@ class account_balance_report(osv.osv_memory):
def _print_report(self, cr, uid, ids, data, query_line, context=None):
data = self.pre_print_report(cr, uid, ids, data, query_line, context=context)
return {'type': 'ir.actions.report.xml', 'report_name': 'account.account.balance', 'datas': data}
return {'type': 'ir.actions.report.xml', 'report_name': 'account.account.balance', 'datas': data, 'nodestroy':True,}
account_balance_report()