mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-11-24 14:42:06 +00:00
11 lines
334 B
Python
11 lines
334 B
Python
# Copyright 2021 Akretion France (http://www.akretion.com/)
|
|
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
|
|
def migrate(cr, version):
|
|
if not version:
|
|
return
|
|
|
|
cr.execute("UPDATE account_payment_order SET state='uploaded' WHERE state='done'")
|