From 15377b23022440d88c40c656a513b3397ba43e9a Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Mon, 1 Dec 2025 10:03:29 +0700 Subject: push revisi hari sabtu tanggal 29/11/25 --- fixco_custom/models/manage_stock.py | 1 + 1 file changed, 1 insertion(+) (limited to 'fixco_custom/models/manage_stock.py') 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!'), -- cgit v1.2.3