From 55d20d5135bee5a5b5d29e073568c966c47b93c3 Mon Sep 17 00:00:00 2001 From: Ajmal Cybro Date: Wed, 14 Jul 2021 10:23:31 +0530 Subject: [PATCH] [FIX] Bug Fixed 'invoice_format_editor' --- invoice_format_editor/__manifest__.py | 2 +- invoice_format_editor/model/res_company.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/invoice_format_editor/__manifest__.py b/invoice_format_editor/__manifest__.py index 0cc13d017..ca4b13200 100644 --- a/invoice_format_editor/__manifest__.py +++ b/invoice_format_editor/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Invoice Format Editor', - 'version': '14.0.1.1.0', + 'version': '14.0.1.1.1', 'category': 'Accounting', 'summary': 'Invoice Format Editor', 'description': """Invoice Format Editor For Configuring the Invoice Templates""", diff --git a/invoice_format_editor/model/res_company.py b/invoice_format_editor/model/res_company.py index 479163b83..09a47a5a5 100644 --- a/invoice_format_editor/model/res_company.py +++ b/invoice_format_editor/model/res_company.py @@ -90,6 +90,7 @@ class BaseDocumentLayout(models.TransientModel): wizard.preview = ir_ui_view._render_template( 'invoice_format_editor.report_preview_old', {'company': wizard, 'preview_css': preview_css, }) - else: wizard.preview = False + else: + wizard.preview = False