mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[10.0][FIX] base_report_to_printer: Loss report_copies context
This commit is contained in:
@@ -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)",
|
||||
|
||||
@@ -24,6 +24,7 @@ class Report(models.Model):
|
||||
report_name,
|
||||
document,
|
||||
report.report_type,
|
||||
copies=self.env.context.get('report_copies')
|
||||
)
|
||||
|
||||
@api.multi
|
||||
|
||||
Reference in New Issue
Block a user