[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 c15f80057a
commit fb73ad381d

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([])