mirror of
https://github.com/bringout/oca-storage.git
synced 2026-04-18 23:32:04 +02:00
15 lines
367 B
Python
15 lines
367 B
Python
# Copyright 2023 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class IrAttachment(models.Model):
|
|
|
|
_inherit = "ir.attachment"
|
|
|
|
alt_text = fields.Char(
|
|
"Alternative Text",
|
|
help="Alternative text for the image. Only used for images on a website.",
|
|
translate=False,
|
|
)
|