[FIX] base_report_to_printer: A button method should be @api.multi

This commit is contained in:
Sylvain GARANCHER
2017-06-23 14:37:45 +02:00
parent a38e6117f2
commit d594b24cb4

View File

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