From f7d33f8ee766b84d798b63d02ad9e3993d59a00e Mon Sep 17 00:00:00 2001 From: 006035 Date: Thu, 26 Nov 2020 11:08:50 +0700 Subject: [PATCH] #5069-PartnerPitLine --- l10n_th_account_pit/models/account_voucher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/l10n_th_account_pit/models/account_voucher.py b/l10n_th_account_pit/models/account_voucher.py index 0dfd1a354..e7b28310c 100755 --- a/l10n_th_account_pit/models/account_voucher.py +++ b/l10n_th_account_pit/models/account_voucher.py @@ -43,6 +43,7 @@ def cancel_voucher(self): 'amount_income': -line.amount_income, 'amount_wht': -line.amount_wht, 'precalc_wht': -line.precalc_wht, + 'cancelled': True }) # Assign sequence and post pit_line.action_post()