[10.0][FIX] base_report_to_printer: Loss report_copies context

This commit is contained in:
Sergio Teruel Albert
2018-04-12 13:32:40 +02:00
parent a30a18e779
commit a4f26af94a
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
{
'name': "Report to printer",
'version': '10.0.2.0.0',
'version': '10.0.2.0.1',
'category': 'Generic Modules/Base',
'author': "Agile Business Group & Domsense, Pegueroles SCP, NaN, "
"LasLabs, Tecnativa, Odoo Community Association (OCA)",

View File

@@ -24,6 +24,7 @@ class Report(models.Model):
report_name,
document,
report.report_type,
copies=self.env.context.get('report_copies')
)
@api.multi