Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
web_save_discard_button/models/ir_http.py
Executable file
13
web_save_discard_button/models/ir_http.py
Executable file
@@ -0,0 +1,13 @@
|
||||
# Copyright (C) 2023-TODAY Synconics Technologies Pvt. Ltd. (<http://www.synconics.com>).
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class IrHttp(models.AbstractModel):
|
||||
_inherit = "ir.http"
|
||||
|
||||
@classmethod
|
||||
def _get_translation_frontend_modules_name(cls):
|
||||
modules = super()._get_translation_frontend_modules_name()
|
||||
return modules + ["web_save_discard_button"]
|
||||
Reference in New Issue
Block a user