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) --HG-- branch : 8.0
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ After
|
|||||||
])
|
])
|
||||||
|
|
||||||
for mandate in mandates:
|
for mandate in mandates:
|
||||||
mandate.address = mandate.on_change_party()
|
mandate.on_change_party()
|
||||||
|
|
||||||
Mandate.save(mandates)
|
Mandate.save(mandates)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user