from odoo import models, fields, api class ProductProduct(models.Model): _inherit = 'product.product' item_code = fields.Char( string='Item Code', related='product_tmpl_id.item_code', store=True, readonly=True, help='Item Code dari template produk (variant menampilkan kode template).', )