details: https://code.tryton.org/tryton/commit/eeedc5d98940
branch: 7.8
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 bf6785509cab -r eeedc5d98940 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
@@ -44,7 +44,7 @@
])
for mandate in mandates:
- mandate.address = mandate.on_change_party()
+ mandate.on_change_party()
Mandate.save(mandates)