[MIG] sale_usability to v14 (with up-ports from v10)

This commit is contained in:
Alexis de Lattre
2020-12-02 15:12:41 +01:00
parent e505e7e07f
commit 44a4f795d0
16 changed files with 177 additions and 222 deletions

View File

@@ -0,0 +1,14 @@
# Copyright 2017-2019 Akretion France
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class ProductTemplate(models.Model):
_inherit = 'product.template'
service_type = fields.Selection(tracking=True)
expense_policy = fields.Selection(tracking=True)
invoice_policy = fields.Selection(tracking=True)
sale_line_warn = fields.Selection(tracking=True)