details:   https://code.tryton.org/tryton/commit/88eef63b6382
branch:    8.0
user:      Adrià Tarroja Caubet <[email protected]>
date:      Thu Aug 06 13:08:45 2026 +0200
description:
        Call on_change_party without assignment in SEPA mandate migration

        The method updates the address in place and returns None. Assigning its
        return value to the address raises an AssertionError.

        Closes #14996
        (grafted from 09ace4ae51505a83d13bd3d034536a022730a2f3)
diffstat:

 doc/migration.rst |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 898052f90d02 -r 88eef63b6382 doc/migration.rst
--- a/doc/migration.rst Fri Aug 14 12:55:53 2026 +0200
+++ b/doc/migration.rst Thu Aug 06 13:08:45 2026 +0200
@@ -79,7 +79,7 @@
          ])
 
      for mandate in mandates:
-         mandate.address = mandate.on_change_party()
+         mandate.on_change_party()
 
      Mandate.save(mandates)
 

Reply via email to