[MIG] l10n_fr_fec : Migrated to new API.

This commit is contained in:
Rohan Patel
2016-07-07 15:55:34 +02:00
committed by Yannick Tivisse
parent a5e78a7d2b
commit 62a5898a84
5 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
#-*- coding:utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2013-2015 Akretion (http://www.akretion.com)
+1 -3
View File
@@ -1,11 +1,10 @@
# -*- encoding: utf-8 -*-
#-*- coding:utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2013-2015 Akretion (http://www.akretion.com)
{
'name': 'France - FEC',
'version': '1.0',
'category': 'Localization',
'summary': "Fichier d'Échange Informatisé (FEC) for France",
'author': "Akretion,Odoo Community Association (OCA)",
@@ -14,6 +13,5 @@
'data': [
'wizard/account_fr_fec_view.xml',
],
'installable': True,
'auto_install': True,
}
+1 -1
View File
@@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*-
#-*- coding:utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2013-2015 Akretion (http://www.akretion.com)
+5 -4
View File
@@ -1,13 +1,14 @@
# -*- encoding: utf-8 -*-
#-*- coding:utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
# Copyright (C) 2013-2015 Akretion (http://www.akretion.com)
from openerp import models, fields, api, _
from openerp.exceptions import Warning
import base64
import StringIO
import csv
import StringIO
from odoo import api, fields, models, _
from odoo.exceptions import Warning
class AccountFrFec(models.TransientModel):
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record id="account_fr_fec_view" model="ir.ui.view">
<field name="name">account.fr.fec.form.view</field>
<field name="model">account.fr.fec</field>
@@ -33,6 +31,4 @@
parent="l10n_fr.account_reports_fr_statements_menu"
action="account_fr_fec_action"
sequence="100" />
</data>
</openerp>
</odoo>