details:   https://code.tryton.org/tryton/commit/09ace4ae5150
branch:    default
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
diffstat:

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

diffs (12 lines):

diff -r 973217a96267 -r 09ace4ae5150 doc/migration.rst
--- a/doc/migration.rst Tue Sep 01 00:44:08 2026 +0200
+++ b/doc/migration.rst Thu Aug 06 13:08:45 2026 +0200
@@ -108,7 +108,7 @@
          ])
 
      for mandate in mandates:
-         mandate.address = mandate.on_change_party()
+         mandate.on_change_party()
 
      Mandate.save(mandates)
 

Reply via email to