mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
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:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user