summaryrefslogtreecommitdiff
path: root/fixco_custom/models/manage_stock.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-12-01 10:03:29 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-12-01 10:03:29 +0700
commit15377b23022440d88c40c656a513b3397ba43e9a (patch)
treeb6ae76c8eb15e54a5c3a1eb1ca4106044f9dc11e /fixco_custom/models/manage_stock.py
parent9c3a7bba06bba9db22d84286f96739ef37e49ace (diff)
push revisi hari sabtu tanggal 29/11/25
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!'),