summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/vendor_approval.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-11 16:10:44 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-11 16:10:44 +0700
commitc8ce7890c7174ea678da282e3fa04501b24951bc (patch)
treef007d7bed000bdfa38f64d85af122f1d65b5c565 /indoteknik_custom/models/vendor_approval.py
parent4c2325d4a983ced3a25a9d53d7613a9186360b17 (diff)
parent17d46cf9f4eede8177b2373c03d5b36123f712c1 (diff)
Merge branch 'production' into iman/request-renca-stock
Diffstat (limited to 'indoteknik_custom/models/vendor_approval.py')
-rw-r--r--indoteknik_custom/models/vendor_approval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/vendor_approval.py b/indoteknik_custom/models/vendor_approval.py
index e540b8fc..b0d58b85 100644
--- a/indoteknik_custom/models/vendor_approval.py
+++ b/indoteknik_custom/models/vendor_approval.py
@@ -29,7 +29,7 @@ class VendorApproval(models.Model):
raise UserError('Hanya Merchandiser yang bisa approve')
self.state = 'done'
- self.order_id.update({'vendor_approval': True})
+ self.order_id.vendor_approval = True
self.order_id.action_confirm()
message = "Vendor Approval approved by %s" % (self.env.user.name)
self.order_id.message_post(body=message)