summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-23 05:34:07 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-23 05:34:07 +0700
commitf58e6e2fa013789bfa8ac8456cd29735a83a56d0 (patch)
tree73866778e031011a179c7258bdb64ef7dc2899c7
parente31d5c3930a18c4798702d1798302d508e3d0d6a (diff)
(andri) fix
-rw-r--r--indoteknik_custom/models/account_move.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 28e9156a..44b3cb76 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -335,7 +335,8 @@ class AccountMove(models.Model):
currency = invs[0].currency_id if invs else partner.company_id.currency_id
tempo_link = 'https://indoteknik.com/my/tempo'
# tempo_link = 'http://localhost:2100/my/tempo'
- payment_term = partner.previous_payment_term_id if partner.is_cbd_locked else partner.property_payment_term_id
+ # payment_term = partner.previous_payment_term_id if partner.is_cbd_locked else partner.property_payment_term_id
+ payment_term = invs[0].invoice_payment_term_id
limit_info_html = f"""
<p><b>Informasi Tambahan:</b></p>