Merge PR #717 into 14.0

Signed-off-by etobella
This commit is contained in:
OCA-git-bot
2023-02-24 09:43:02 +00:00

View File

@@ -29,8 +29,8 @@ class IrActionsReport(models.Model):
context.update(self.env.context) context.update(self.env.context)
return context return context
def render(self, res_ids, data=None): def _render(self, res_ids, data=None):
return super(IrActionsReport, self.with_context(self._get_context())).render( return super(IrActionsReport, self.with_context(self._get_context()))._render(
res_ids, data=data res_ids, data=data
) )