diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-06-28 08:54:35 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-06-28 08:54:35 +0700 |
| commit | be3af87277be6d884abbcc9f584f52a3871a6869 (patch) | |
| tree | ccca579890fd93518eeb9b8ad646de0363172139 /fixco_custom/models/account_move.py | |
| parent | 87f6bc09d6fe91526116301375efc544f31be625 (diff) | |
schema SO Blibli
Diffstat (limited to 'fixco_custom/models/account_move.py')
| -rw-r--r-- | fixco_custom/models/account_move.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fixco_custom/models/account_move.py b/fixco_custom/models/account_move.py index 82223b6..0cdc22d 100644 --- a/fixco_custom/models/account_move.py +++ b/fixco_custom/models/account_move.py @@ -22,4 +22,12 @@ class AccountMove(models.Model): [('digunggung', 'Digunggung'), ('difaktur', 'Faktur Pajak')], string='Transaction Type' - )
\ No newline at end of file + ) + + + def action_post(self): + res = super(AccountMove, self).action_post() + for entry in self: + entry.invoice_date = entry.picking_id.date_done + + return res
\ No newline at end of file |
