summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-07-19 11:25:12 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-07-19 11:25:12 +0700
commit5d27587d8c84d74e4fa26f8aaf34843d0261b985 (patch)
treefca4162a9ec4039803b797b64d47edf67cc32bb9
parent7be922be9b8200a5b90f644a718d905d13157cd1 (diff)
Set record name in model stock.altama
-rw-r--r--indoteknik_custom/models/stock_altama.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_altama.py b/indoteknik_custom/models/stock_altama.py
index c3ebc857..9dae06e2 100644
--- a/indoteknik_custom/models/stock_altama.py
+++ b/indoteknik_custom/models/stock_altama.py
@@ -4,6 +4,7 @@ from odoo import fields, models
class StockAltama(models.Model):
_name = "stock.altama"
_description = "Stock Altama"
+ _rec_name = "product_variant_id"
product_variant_id = fields.Many2one("product.product", string="Product Variant")
quantity = fields.Integer(string="Quantity")