[FIX] l10n_fr: add migration to version 2.1 of the module

This will allow to get the latest taxes.

closes odoo/odoo#109222

Task: 3111528.
Related: #84918, #107158
X-original-commit: 521c80477f9a664bb732ec54d18bdcf1b828072b
Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
Claire Bretton (clbr)
2023-01-05 16:52:18 +01:00
parent 06789b34a8
commit ddbc61a711
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
{
'name': 'France - Accounting',
'version': '2.0',
'version': '2.1',
'category': 'Accounting/Localizations/Account Charts',
'description': """
This is the module to manage the accounting chart for France in Odoo.
@@ -0,0 +1,6 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.account.models.chart_template import update_taxes_from_templates
def migrate(cr, version):
update_taxes_from_templates(cr, 'l10n_fr.l10n_fr_pcg_chart_template')