[PORT] Printer Tray to V11

This commit is contained in:
Graeme Gellatly
2017-10-05 05:26:24 +13:00
parent a251376768
commit 8bfea53fec
11 changed files with 81 additions and 85 deletions

View File

@@ -104,7 +104,7 @@ class TestPrintingPrinter(TransactionCase):
"""
It should generate the right options dictionnary
"""
report = self.env['ir.actions.report.xml'].search([], limit=1)
report = self.env['ir.actions.report'].search([], limit=1)
action = self.env['printing.report.xml.action'].create({
'user_id': self.env.user.id,
'report_id': report.id,