diff options
Diffstat (limited to 'indoteknik_custom/models/stock_vendor.py')
| -rw-r--r-- | indoteknik_custom/models/stock_vendor.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_vendor.py b/indoteknik_custom/models/stock_vendor.py new file mode 100644 index 00000000..78baf14c --- /dev/null +++ b/indoteknik_custom/models/stock_vendor.py @@ -0,0 +1,10 @@ +from odoo import fields, models + + +class StockVendor(models.Model): + _name = "stock.vendor" + _description = "Stock Vendor" + _rec_name = "product_variant_id" + + product_variant_id = fields.Many2one("product.product", string="Product Variant") + quantity = fields.Integer(string="Quantity") |
