summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-07-19 08:34:33 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-07-19 08:34:33 +0700
commit41a1567f7dd7d600e66aab11a851b2e9b53083ab (patch)
tree28ade82e22b51bc7d563b2a67ebb618bf9e85f3c /indoteknik_custom/models
parentf65ef8f208607a2d906e612822b92681e1f85d54 (diff)
Model stock.altama dan View stock.altama
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/__init__.py1
-rw-r--r--indoteknik_custom/models/stock_altama.py9
2 files changed, 10 insertions, 0 deletions
diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py
index 2679aa23..3da85d05 100644
--- a/indoteknik_custom/models/__init__.py
+++ b/indoteknik_custom/models/__init__.py
@@ -7,3 +7,4 @@ from . import product_public_category
from . import product_template
from . import x_partner_purchase_order
from . import x_product_tags
+from . import stock_altama
diff --git a/indoteknik_custom/models/stock_altama.py b/indoteknik_custom/models/stock_altama.py
new file mode 100644
index 00000000..c3ebc857
--- /dev/null
+++ b/indoteknik_custom/models/stock_altama.py
@@ -0,0 +1,9 @@
+from odoo import fields, models
+
+
+class StockAltama(models.Model):
+ _name = "stock.altama"
+ _description = "Stock Altama"
+
+ product_variant_id = fields.Many2one("product.product", string="Product Variant")
+ quantity = fields.Integer(string="Quantity")