mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[14.0][IMP] base_report_to_printer: Add tests for text documents
This commit is contained in:
@@ -101,7 +101,7 @@ class IrActionsReport(models.Model):
|
||||
return result
|
||||
|
||||
def print_document(self, record_ids, data=None):
|
||||
""" Print a document, do not return the document file """
|
||||
"""Print a document, do not return the document file"""
|
||||
report_type = REPORT_TYPES.get(self.report_type)
|
||||
if not report_type:
|
||||
raise exceptions.UserError(
|
||||
|
||||
Reference in New Issue
Block a user