-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX]base_report_to_print_node: cups error
- Loading branch information
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (c) 2007 Ferran Pegueroles <[email protected]> | ||
# Copyright (c) 2009 Albert Cervera i Areny <[email protected]> | ||
# Copyright (C) 2011 Agile Business Group sagl (<http://www.agilebg.com>) | ||
# Copyright (C) 2011 Domsense srl (<http://www.domsense.com>) | ||
# Copyright (C) 2013-2014 Camptocamp (<http://www.camptocamp.com>) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from odoo import models | ||
|
||
class IrActionsReport(models.Model): | ||
_inherit = "ir.actions.report" | ||
|
||
def behaviour(self): | ||
# Agregamos esto para poder saltear restricciones de cups agregadas en este pr: https://github.com/OCA/report-print-send/pull/367 | ||
self = self.with_context(skip_printer_exception=True) |