mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
14 lines
399 B
Python
14 lines
399 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2009-2017 Noviat
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
|
|
def migrate(cr, version):
|
|
|
|
# remove translation so that field label & help is reloaded
|
|
cr.execute(
|
|
"DELETE FROM ir_translation "
|
|
"WHERE module LIKE 'account_asset%' "
|
|
"AND src ILIKE '%number of years%' "
|
|
"AND name LIKE 'account.asset.%';")
|