Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
1
attachment_unindex_content/models/__init__.py
Executable file
1
attachment_unindex_content/models/__init__.py
Executable file
@@ -0,0 +1 @@
|
||||
from . import ir_attachment
|
||||
12
attachment_unindex_content/models/ir_attachment.py
Executable file
12
attachment_unindex_content/models/ir_attachment.py
Executable file
@@ -0,0 +1,12 @@
|
||||
# 2019 Vauxoo (<http://www.vauxoo.com/>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class IrAttachment(models.Model):
|
||||
_inherit = "ir.attachment"
|
||||
|
||||
@api.model
|
||||
def _index(self, *args, **kwargs):
|
||||
return False
|
||||
Reference in New Issue
Block a user