Set api.multi for action called as object on view

This commit is contained in:
Yannick Vaucher
2016-11-01 18:26:17 +01:00
committed by GitHub
parent 0f7bcdc90e
commit 8e5d6f26cd

View File

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