[FIX] base_report_to_printer: Fix Update Job Cron (#73)

* Fix API issue with Update Job Cron
This commit is contained in:
Ted Salmon
2016-12-28 10:36:41 -08:00
committed by Moises Lopez - https://www.vauxoo.com/
parent 555f342d81
commit 95344636cd

View File

@@ -102,7 +102,7 @@ class PrintingServer(models.Model):
return res
@api.multi
@api.model
def action_update_jobs(self):
if not self:
self = self.search([])