mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] remote_report_to_printer: black, isort, prettier
This commit is contained in:
committed by
Enric Tobella
parent
ae1cc7eb1d
commit
d9b68f2e77
@@ -5,14 +5,12 @@ from odoo import api, fields, models
|
||||
|
||||
|
||||
class PrintingAction(models.Model):
|
||||
_inherit = 'printing.action'
|
||||
_inherit = "printing.action"
|
||||
|
||||
@api.model
|
||||
def _available_action_types(self):
|
||||
res = super()._available_action_types()
|
||||
res.append(('remote_default', "Use remote's default"))
|
||||
res.append(("remote_default", "Use remote's default"))
|
||||
return res
|
||||
|
||||
action_type = fields.Selection(
|
||||
selection=_available_action_types,
|
||||
)
|
||||
action_type = fields.Selection(selection=_available_action_types,)
|
||||
|
||||
Reference in New Issue
Block a user