From 038e5d030b6285ba303d954bababa825035a2510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 12 Dec 2025 18:58:01 +0100 Subject: [PATCH] Add an empty line to the console migration script after multi-line statement Such that it can be copy/pasted directly into the console. --- doc/migration.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/migration.rst b/doc/migration.rst index 32eec2719f..85ea9a1453 100644 --- a/doc/migration.rst +++ b/doc/migration.rst @@ -30,8 +30,10 @@ After ('state', '=', 'validated'), ('address', '=', None), ]) + for mandate in mandates: mandate.address = mandate.on_change_party() + Mandate.save(mandates) 7.6 @@ -66,6 +68,7 @@ After shipment.state = 'draft' shipment.internal_transit_location = shipment.transit_location shipment.state = state + Shipment.save(shipments) transaction.commit()