Skip to content
Permalink
Browse files

[base]IMP: Improved logger message of PDF report generation

closes #31891

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
  • Loading branch information...
sswapnesh committed Mar 16, 2019
1 parent 5356f36 commit 9bfe6ef04b0bdd30d78695b215dd8e2e3d81ce99
Showing with 1 addition and 1 deletion.
  1. +1 −1 odoo/addons/base/models/ir_actions_report.py
@@ -698,7 +698,7 @@ def render_qweb_pdf(self, res_ids=None, data=None):
set_viewport_size=context.get('set_viewport_size'),
)
if res_ids:
_logger.info('The PDF report has been generated for records %s.' % (str(res_ids)))
_logger.info('The PDF report has been generated for model: %s, records %s.' % (self.model, str(res_ids)))
return self._post_pdf(save_in_attachment, pdf_content=pdf_content, res_ids=html_ids), 'pdf'
return pdf_content, 'pdf'

0 comments on commit 9bfe6ef

Please sign in to comment.
You can’t perform that action at this time.