diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-06-12 16:14:31 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-06-12 16:14:31 +0700 |
| commit | 95cef4d4d3936f8a612dadf00e83f9cddcccc0dc (patch) | |
| tree | 4e7cfdd82f53e866b4254d93fbab57f3d45e1ba5 /indoteknik_custom/models/uangmuka_pembelian.py | |
| parent | 626e93d3a0bfad2bc87002d9e0a7ae860ea9baba (diff) | |
| parent | b6f63fcf96355bc11f9843a9f661cea0a458475e (diff) | |
<hafid> commit
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: |
