diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-06-11 03:33:29 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-06-11 03:33:29 +0000 |
| commit | b8fbe54d6a6eb6d0a56afb2a45235e1bd6adca90 (patch) | |
| tree | 2adfd5dbe460bdd6a2d1265617a0cfb5a8108e49 /indoteknik_custom/models/uangmuka_pembelian.py | |
| parent | 05dafe1ab837cac8992d1dc6c012a26bce88c15c (diff) | |
| parent | d89f6b21f0174d52b1efb7d54ec3443bbbe3fbcb (diff) | |
Merged in cab-po-finance (pull request #326)
Cab po finance
Diffstat (limited to 'indoteknik_custom/models/uangmuka_pembelian.py')
| -rw-r--r-- | indoteknik_custom/models/uangmuka_pembelian.py | 2 |
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: |
