mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] : Migration to 14.0
This commit is contained in:
@@ -8,7 +8,9 @@ from odoo.exceptions import UserError
|
||||
class ReportAction(models.Model):
|
||||
_inherit = "ir.actions.report"
|
||||
|
||||
report_type = fields.Selection(selection_add=[("fillpdf", "PDF Filler")])
|
||||
report_type = fields.Selection(
|
||||
selection_add=[("fillpdf", "PDF Filler")], ondelete={"fillpdf": "set default"}
|
||||
)
|
||||
|
||||
@api.model
|
||||
def render_fillpdf(self, docids, data):
|
||||
|
||||
Reference in New Issue
Block a user