mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[MIG] base_report_to_printer: Migration to 13.0
This commit is contained in:
committed by
John Herholz
parent
e94fb3da48
commit
0e53482bbb
@@ -167,7 +167,8 @@ class TestIrActionsReportXml(TransactionCase):
|
||||
)
|
||||
|
||||
def test_behaviour_printing_action_with_no_printer(self):
|
||||
""" It should return the action from printing action and printer from other
|
||||
""" It should return the action from printing action and printer from
|
||||
other
|
||||
"""
|
||||
report = self.Model.search([], limit=1)
|
||||
self.env.user.printing_action = 'client'
|
||||
@@ -196,7 +197,8 @@ class TestIrActionsReportXml(TransactionCase):
|
||||
)
|
||||
|
||||
def test_behaviour_printing_action_user_defaults(self):
|
||||
""" It should return the action and printer from user with printing action
|
||||
""" It should return the action and printer from user with printing
|
||||
action
|
||||
"""
|
||||
report = self.Model.search([], limit=1)
|
||||
self.env.user.printing_action = 'client'
|
||||
|
||||
@@ -40,7 +40,8 @@ class TestPrintingReportXmlAction(TransactionCase):
|
||||
})
|
||||
|
||||
def test_behaviour(self):
|
||||
""" It should return some action's data, unless called on empty recordset
|
||||
""" It should return some action's data, unless called on empty
|
||||
recordset
|
||||
"""
|
||||
xml_action = self.new_record()
|
||||
self.assertEqual(xml_action.behaviour(), {
|
||||
|
||||
Reference in New Issue
Block a user