Add traking on some import product fields

This commit is contained in:
Alexis de Lattre
2017-02-03 15:13:40 +01:00
parent 6cb195a3eb
commit c8f1517881
4 changed files with 39 additions and 1 deletions

View File

@@ -55,3 +55,9 @@ class ResPartner(models.Model):
compute='_purchase_stats', string='# of Purchase Order')
supplier_invoice_count = fields.Integer(
compute='_purchase_stats', string='# Supplier Invoices')
class ProductTemplate(models.Model):
_inherit = 'product.template'
purchase_ok = fields.Boolean(track_visibility='onchange')