# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import models, api class Product(models.Model): _inherit = 'product.product' @api.model def _get_fields_stock_barcode(self): return super()._get_fields_stock_barcode() + ['is_kits']