mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_save_discard_button module
This commit is contained in:
4
web_save_discard_button/models/__init__.py
Normal file
4
web_save_discard_button/models/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# 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 . import ir_http
|
||||
13
web_save_discard_button/models/ir_http.py
Normal file
13
web_save_discard_button/models/ir_http.py
Normal 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