Files
odoo_source/addons/website_sale_digital/models/ir_attachment.py
T
Jérome Maes 09b783794e [MIG] website_sale_*: migration to new api
Those module were almost already migrated, this commit simply modified the import and the xml tags.
2016-07-12 14:29:31 +02: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)