Odoo18-Base/addons/website_sale_digital/models/ir_attachment.py
2025-03-10 11:12:23 +07:00

12 lines
294 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class Attachment(models.Model):
_inherit = ['ir.attachment']
product_downloadable = fields.Boolean("Downloadable from product portal", default=False)