update product
This commit is contained in:
13
addons/kosbar_erp_ext/models/product_product.py
Normal file
13
addons/kosbar_erp_ext/models/product_product.py
Normal 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).',
|
||||
)
|
||||
Reference in New Issue
Block a user