Files
contract/agreement_sale/models/product.py
Maxime Chambreuil 2789dfbb8e [IMP] agreement_sale
2019-01-14 09:42:01 -06:00

14 lines
441 B
Python

# Copyright (C) 2019 - TODAY, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class ProductTemplate(models.Model):
_inherit = 'product.template'
is_serviceprofile = fields.Boolean(
string="Create a Service Profile",
help="""If True, this product will create a service profile on the
agreement when the sales order is confirmed.""")