sepa_direct_debit_mandate: Migration script

This commit is contained in:
Sergio Incaser
2016-04-06 09:12:55 +02:00
committed by Enric Tobella
parent 04cd389976
commit c96d5bb745
2 changed files with 14 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
{
'name': 'Account Banking SEPA Direct Debit',
'summary': 'Create SEPA files for Direct Debit',
'version': '8.0.0.4.0',
'version': '8.0.0.5.0',
'license': 'AGPL-3',
'author': "Akretion, "
"Serv. Tecnol. Avanzados - Pedro M. Baeza, "

View File

@@ -0,0 +1,13 @@
# -*- coding: utf-8 -*-
# © 2016 Sergio Teruel <sergio.teruel@tecnativa.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_banking_mandate SET format='sepa'
''')
return