Add issue8834.diff # [account_payment_clearing] Party required when mark a payment succeed and counterpart account is required
This commit is contained in:
parent
84301dcb40
commit
20d5e75e81
|
@ -0,0 +1,12 @@
|
|||
diff -r dc6d16f53783 trytond/trytond/modules/account_payment_clearing/payment.py
|
||||
--- a/trytond/trytond/modules/account_payment_clearing/payment.py Mon Nov 04 12:53:16 2019 +0100
|
||||
+++ b/trytond/trytond/modules/account_payment_clearing/payment.py Mon Nov 18 14:19:24 2019 +0100
|
||||
@@ -189,6 +189,8 @@
|
||||
else:
|
||||
counterpart.debit, counterpart.credit = local_amount, 0
|
||||
counterpart.account = self.journal.clearing_account
|
||||
+ counterpart.party = (self.clearing_party
|
||||
+ if counterpart.account.party_required else None)
|
||||
if not local_currency:
|
||||
counterpart.amount_second_currency = self.amount.copy_sign(
|
||||
counterpart.debit - counterpart.credit)
|
1
series
1
series
|
@ -5,6 +5,7 @@ babi_multiprocess.diff # [trytond] babi multiprocess
|
|||
trytond_test_database.diff # [trytond] avoid errors on upgrades from version 3.4
|
||||
logging_jsonrpc_exeption.diff # [trytond] logging JSONRPC Exception
|
||||
account_payment_view.diff # [account_payment]
|
||||
issue8834.diff # [account_payment_clearing] Party required when mark a payment succeed and counterpart account is required
|
||||
|
||||
issue3932.diff # [account] rule account move and account move line by company
|
||||
issue8469.diff # [account] Wrong domain in action move line receivable
|
||||
|
|
Loading…
Reference in New Issue