Add tracking on important product fields

This commit is contained in:
Alexis de Lattre
2017-01-03 16:31:38 +01:00
parent 6d62bcce06
commit 37252b1e6a
6 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
# © 2016 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'
purchase_method = fields.Selection(track_visibility='onchange')