From be3af87277be6d884abbcc9f584f52a3871a6869 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Sat, 28 Jun 2025 08:54:35 +0700 Subject: schema SO Blibli --- fixco_custom/models/account_move.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'fixco_custom/models/account_move.py') 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 -- cgit v1.2.3