details:   https://code.tryton.org/tryton/commit/09df3cc6f53e
branch:    default
user:      Cédric Krier <[email protected]>
date:      Fri Dec 12 18:58:01 2025 +0100
description:
        Add an empty line to the console migration script after multi-line 
statement

        Such that it can be copy/pasted directly into the console.
diffstat:

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

diffs (22 lines):

diff -r af38d6fab3a0 -r 09df3cc6f53e doc/migration.rst
--- a/doc/migration.rst Thu Dec 11 15:00:23 2025 +0100
+++ b/doc/migration.rst Fri Dec 12 18:58:01 2025 +0100
@@ -30,8 +30,10 @@
          ('state', '=', 'validated'),
          ('address', '=', None),
          ])
+
      for mandate in mandates:
          mandate.address = mandate.on_change_party()
+
      Mandate.save(mandates)
 
 7.6
@@ -66,6 +68,7 @@
          shipment.state = 'draft'
          shipment.internal_transit_location = shipment.transit_location
          shipment.state = state
+
      Shipment.save(shipments)
      transaction.commit()
 

Reply via email to