update product

This commit is contained in:
2026-09-07 16:41:16 +07:00
parent fff2274ce1
commit 46e2d02908
6 changed files with 197 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
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).',
)