Merge pull request #92 from syleam/10.0-fix-update_jobs-decorator

[FIX] base_report_to_printer: A button method should be @api.multi
This commit is contained in:
Yannick Vaucher
2017-07-11 11:14:47 +02:00
committed by GitHub

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