Merge pull request #62 from OCA/yvaucher-patch-update-printers

Set api.multi for action called as `object` on view
This commit is contained in:
Pedro M. Baeza
2016-11-03 20:32:29 +01:00
committed by GitHub

View File

@@ -26,7 +26,7 @@ class PrintingPrinterUpdateWizard(models.TransientModel):
_name = 'printing.printer.update.wizard'
_description = 'Printing Printer Update Wizard'
@api.model
@api.multi
def action_ok(self):
# Update Printers
printer_obj = self.env['printing.printer']