diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-08-06 11:01:45 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-08-06 11:01:45 +0700 |
| commit | 837b7ba9f7118c6516ebad6b4022e1b449661c4d (patch) | |
| tree | 3d89a98c0e5f869f84fb3250263a8ed42fb70cba | |
| parent | c42bdba2996d85d328897e42e7a1d86001b3a14d (diff) | |
fix payment date account move
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py index 4be6c984..595c5655 100644 --- a/indoteknik_custom/models/account_move.py +++ b/indoteknik_custom/models/account_move.py @@ -106,6 +106,8 @@ class AccountMove(models.Model): if payment: move.payment_date = payment[0].date + elif move.reklas_misc_id: + move.payment_date = move.reklas_misc_id.date else: move.payment_date = False |
