diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-05-10 14:43:15 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-05-10 14:43:15 +0700 |
| commit | 844339e517540826f6990456a63945dc879e37d5 (patch) | |
| tree | a635964dbd0b9729c1d161e16ca7e8dabb02a3c8 /indoteknik_custom/models/product_template.py | |
| parent | 1c0c7be74b11371299bead2626840b3ebc2632f7 (diff) | |
| parent | cb9ae6021dd4858372ed78d16ab491226c95f1d2 (diff) | |
Merge branch 'production' into dev/request-by-abl
# Conflicts:
# indoteknik_custom/models/res_partner.py
Diffstat (limited to 'indoteknik_custom/models/product_template.py')
| -rwxr-xr-x | indoteknik_custom/models/product_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py index 4bab2cad..8494e18a 100755 --- a/indoteknik_custom/models/product_template.py +++ b/indoteknik_custom/models/product_template.py @@ -410,7 +410,7 @@ class ProductProduct(models.Model): for product in self: qty_onhand = self.env['stock.quant'].search([ ('product_id', '=', product.id), - ('location_id', '=', 57) + ('location_id', 'in', [57, 83]) ]) qty = sum(qty_onhand.mapped('quantity')) product.qty_onhand_bandengan = qty |
