summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-17 14:07:57 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-17 14:07:57 +0700
commit3f7cb23684eb827e9610cdf6bdd80127c16f08c5 (patch)
tree77056bd5dc72550ac119730b4f296274626546e3
parentf0aaf4476c8b92cb68503e9760216ca20fe4e34d (diff)
parent98bdb05daa79c46b0a1f4284d19e65ed3a7d2f48 (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
-rwxr-xr-xindoteknik_custom/models/purchase_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index afa67cf2..8a47482a 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -75,7 +75,7 @@ class PurchaseOrder(models.Model):
for purchase in self:
match = self.env['purchase.order.sales.match']
result = match.read_group(
- [('purchase_order_id.id', '=', purchase.id)],
+ [('purchase_order_id', '=', purchase.id)],
['margin_item'],
[]
)