summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/uangmuka_pembelian.py
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models/uangmuka_pembelian.py')
-rw-r--r--indoteknik_custom/models/uangmuka_pembelian.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/uangmuka_pembelian.py b/indoteknik_custom/models/uangmuka_pembelian.py
index ba41f814..13d51dcf 100644
--- a/indoteknik_custom/models/uangmuka_pembelian.py
+++ b/indoteknik_custom/models/uangmuka_pembelian.py
@@ -57,6 +57,8 @@ class UangmukaPembelian(models.TransientModel):
account_move = request.env['account.move'].create([param_header])
_logger.info('Success Create Uang Muka Pembelian %s' % account_move.name)
+ account_move.purchase_order_id = order.id # isi field purchase_order_id
+
if order.partner_id.parent_id:
partner_id = order.partner_id.parent_id.id
else: