15 lines
531 B
Python
15 lines
531 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models, fields
|
|
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = 'product.template'
|
|
|
|
track_service = fields.Selection(track_visibility='onchange')
|
|
expense_policy = fields.Selection(track_visibility='onchange')
|
|
invoice_policy = fields.Selection(track_visibility='onchange')
|
|
sale_line_warn = fields.Selection(track_visibility='onchange')
|