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