Live Chat
True
FAQs
Odoo14

Warning on Odoo 14 with track_visibility

Getting this warning on Odoo 14:

Field product.template.name: unknown parameter 'track_visibility', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it


The code in question is real simple:

from odoo import api, fields, models

class ProductTemplate(models.Model):

    _inherit = 'product.template'

    name = fields.Char(track_visibility='onchange')



In V14 the value change tracking system has been changed.

Now track_visibility='true' could be simply changed to tracking=True

https://www.odoo.com/documentation/14.0/reference/mixins.html#logging-changes





Was this article helpful?

FAQ HOME

To install this Web App in your iPhone/iPad press and then Add to Home Screen.