Add an empty line to the console migration script after multi-line statement

Such that it can be copy/pasted directly into the console.
This commit is contained in:
Cédric Krier
2025-12-12 18:58:01 +01:00
parent 3cbc0652ec
commit 038e5d030b
+3
View File
@@ -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()