mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] printing_auto_base: bound to model
This commit is contained in:
@@ -50,6 +50,7 @@ class TestPrintingAutoCommon(common.SavepointCase):
|
||||
|
||||
@classmethod
|
||||
def _create_printing_auto(cls, vals):
|
||||
vals.setdefault("model", "printing.auto")
|
||||
return cls.env["printing.auto"].create(vals)
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user