details:   https://code.tryton.org/tryton/commit/a61c544f6d91
branch:    7.8
user:      Cédric Krier <[email protected]>
date:      Sat Sep 19 10:03:57 2026 +0200
description:
        Do not copy payment amount cache when copying account move line

        Closes #15111
        (grafted from 6f4a8415d5d522e028b06df7b406d63b73bf90d1)
diffstat:

 modules/account_payment/account.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r fe4730300c06 -r a61c544f6d91 modules/account_payment/account.py
--- a/modules/account_payment/account.py        Mon Aug 31 13:43:41 2026 +0200
+++ b/modules/account_payment/account.py        Sat Sep 19 10:03:57 2026 +0200
@@ -238,6 +238,7 @@
         else:
             default = default.copy()
         default.setdefault('payments', None)
+        default.setdefault('payment_amount_cache')
         return super().copy(lines, default=default)
 
     @classmethod

Reply via email to