Add module l10n_fr_intrastat_product_ods
This commit is contained in:
1
l10n_fr_intrastat_product_ods/__init__.py
Normal file
1
l10n_fr_intrastat_product_ods/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
43
l10n_fr_intrastat_product_ods/__openerp__.py
Normal file
43
l10n_fr_intrastat_product_ods/__openerp__.py
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
##############################################################################
|
||||||
|
#
|
||||||
|
# L10n FR Intrastat Product ODS module for Odoo
|
||||||
|
# Copyright (C) 2016 Akretion (http://www.akretion.com)
|
||||||
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Affero General Public License as
|
||||||
|
# published by the Free Software Foundation, either version 3 of the
|
||||||
|
# License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Affero General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'L10n FR Intrastat Product ODS',
|
||||||
|
'version': '8.0.0.1.0',
|
||||||
|
'category': 'Tools',
|
||||||
|
'license': 'AGPL-3',
|
||||||
|
'summary': 'Adds an Aeroo ODS report on DEB',
|
||||||
|
'description': """
|
||||||
|
L10n FR Intrastat Product ODS
|
||||||
|
=============================
|
||||||
|
|
||||||
|
This module will add an Aeroo ODS report on French Intrastat Product Declaration (DEB). It depends on the new intrastat modules that are currently under review in the following OCA PR: https://github.com/OCA/account-financial-reporting/pull/80 and https://github.com/OCA/l10n-france/pull/50
|
||||||
|
|
||||||
|
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
||||||
|
""",
|
||||||
|
'author': "Akretion",
|
||||||
|
'website': 'http://www.akretion.com',
|
||||||
|
'depends': ['l10n_fr_intrastat_product', 'report_aeroo'],
|
||||||
|
'data': ['report.xml'],
|
||||||
|
'installable': True,
|
||||||
|
}
|
||||||
BIN
l10n_fr_intrastat_product_ods/deb.ods
Normal file
BIN
l10n_fr_intrastat_product_ods/deb.ods
Normal file
Binary file not shown.
27
l10n_fr_intrastat_product_ods/report.xml
Normal file
27
l10n_fr_intrastat_product_ods/report.xml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<openerp>
|
||||||
|
<data>
|
||||||
|
|
||||||
|
|
||||||
|
<record id="intrastat_product_declaration_ods" model="ir.actions.report.xml">
|
||||||
|
<field name="name">DEB ODS</field>
|
||||||
|
<field name="model">l10n.fr.intrastat.product.declaration</field>
|
||||||
|
<field name="report_name">intrastat.product.declaration.ods</field>
|
||||||
|
<field name="report_type">aeroo</field>
|
||||||
|
<field name="in_format">oo-ods</field>
|
||||||
|
<field name="report_rml">l10n_fr_intrastat_product_ods/deb.ods</field>
|
||||||
|
<field name="parser_state">default</field>
|
||||||
|
<field name="tml_source">file</field>
|
||||||
|
<field name="out_format" ref="report_aeroo.report_mimetypes_ods_ods"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
<record id="intrastat_product_declaration_ods_button" model="ir.values">
|
||||||
|
<field name="name">DEB ODS</field>
|
||||||
|
<field name="model">l10n.fr.intrastat.product.declaration</field>
|
||||||
|
<field name="key2">client_print_multi</field>
|
||||||
|
<field name="value" eval="'ir.actions.report.xml,%d'%intrastat_product_declaration_ods"/>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
</data>
|
||||||
|
</openerp>
|
||||||
Reference in New Issue
Block a user