summaryrefslogtreecommitdiff
path: root/fixco_custom/models/manage_stock.py
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/models/manage_stock.py')
-rw-r--r--fixco_custom/models/manage_stock.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fixco_custom/models/manage_stock.py b/fixco_custom/models/manage_stock.py
index 80aa505..09d9e6a 100644
--- a/fixco_custom/models/manage_stock.py
+++ b/fixco_custom/models/manage_stock.py
@@ -17,6 +17,7 @@ class ManageStock(models.Model):
vendor_id = fields.Many2one('res.partner', string="Vendor", required=True)
qty_available = fields.Float(string='Qty Available', compute='_compute_qty_available')
qty_onhand = fields.Float(string='Qty Onhand', compute='_compute_qty_available')
+ qty_incoming = fields.Float(string='Qty Incoming', related='product_id.incoming_qty')
_sql_constraints = [
('product_unique', 'unique (product_id)', 'This product already has a stock management rule!'),