summaryrefslogtreecommitdiff
path: root/odoo/addons/base/wizard/base_document_layout.py
diff options
context:
space:
mode:
Diffstat (limited to 'odoo/addons/base/wizard/base_document_layout.py')
-rw-r--r--odoo/addons/base/wizard/base_document_layout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/wizard/base_document_layout.py b/odoo/addons/base/wizard/base_document_layout.py
index d380c1c49a6..5232acb7f06 100644
--- a/odoo/addons/base/wizard/base_document_layout.py
+++ b/odoo/addons/base/wizard/base_document_layout.py
@@ -64,7 +64,7 @@ class BaseDocumentLayout(models.TransientModel):
for wizard in self:
if wizard.report_layout_id:
ir_qweb = wizard.env['ir.qweb']
- wizard.preview = ir_qweb.render('base.layout_preview', {'company': wizard})
+ wizard.preview = ir_qweb._render('base.layout_preview', {'company': wizard})
else:
wizard.preview = False