mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] base_report_to_printer: A button method should be @api.multi
This commit is contained in:
committed by
John Herholz
parent
025f40ffab
commit
7b9f0bcc26
@@ -3,7 +3,7 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
import mock
|
||||
from odoo.tests.common import TransactionCase
|
||||
from odoo.tests.common import HttpCase
|
||||
from odoo import exceptions
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class StopTest(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class TestReport(TransactionCase):
|
||||
class TestReport(HttpCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestReport, self).setUp()
|
||||
|
||||
Reference in New Issue
Block a user