account_payment_partner: add optional="hide" on payment mode in invoice tree view

This commit is contained in:
Alexis de Lattre
2021-07-03 09:38:01 +02:00
committed by Marçal Isern
parent 6b5859b8bc
commit affc34135b

View File

@@ -2,9 +2,9 @@
# @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'")
cr.execute("UPDATE account_payment_order SET state='uploaded' WHERE state='done'")