-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from akretion/8.0-intrastat-v3
[8.0] Add intrastat v3
- Loading branch information
Showing
65 changed files
with
4,697 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
|
||
============== | ||
Intrastat Base | ||
============== | ||
|
||
This module contains common functions for the intrastat reporting and | ||
should be used in combination with the generic reporting module | ||
*intrastat_product* and with the country-specific reporting modules such | ||
as: | ||
|
||
- *l10n_fr_intrastat_service*: | ||
the module for the *Déclaration Européenne des Services* (DES) for France | ||
- *l10n_fr_intrastat_product*: | ||
the module for the *Déclaration d'Echange de Biens* (DEB) for France | ||
- *l10n_be_intrastat_product*: | ||
the module for the Intrastat Declaration for Belgium. | ||
|
||
|
||
Installation | ||
============ | ||
|
||
WARNING: | ||
|
||
This module conflicts with the module *report_intrastat* from the official addons. | ||
If you have already installed the module *report_intrastat*, | ||
you should uninstall it first before installing this module. | ||
|
||
Usage | ||
===== | ||
|
||
This module adds an intrastat property on countries and activates this property | ||
on the 28 countries of the European Union. | ||
|
||
With this module, the country field on partners becomes a required field. | ||
|
||
It adds an option *Exclude invoice line from intrastat if this tax is present* | ||
on taxes. | ||
|
||
It adds a tab *Intrastat* on the company form view. | ||
|
||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
:alt: Try me on Runbot | ||
:target: https://runbot.odoo-community.org/runbot/227/8.0 | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/OCA/intrastat/issues>`_. In case | ||
of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and | ||
welcomed feedback. | ||
|
||
Credits | ||
======= | ||
|
||
Contributors | ||
------------ | ||
|
||
* Alexis de Lattre, Akretion <alexis.delattre@akretion.com> | ||
* Luc De Meyer, Noviat <info@noviat.com> | ||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
This module is maintained by the OCA. | ||
|
||
OCA, or the Odoo Community Association, is a nonprofit organization whose | ||
mission is to support the collaborative development of Odoo features and | ||
promote its widespread use. | ||
|
||
To contribute to this module, please visit https://odoo-community.org. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Intrastat base module for Odoo | ||
# Copyright (C) 2011-2015 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': 'Intrastat Reporting Base', | ||
'version': '8.0.1.3.0', | ||
'category': 'Intrastat', | ||
'license': 'AGPL-3', | ||
'summary': 'Base module for Intrastat reporting', | ||
'author': 'Akretion,Odoo Community Association (OCA)', | ||
'website': 'http://www.akretion.com', | ||
'depends': ['base_vat'], | ||
'conflicts': ['report_intrastat'], | ||
'data': [ | ||
'data/country_data.xml', | ||
'views/product_template.xml', | ||
'views/res_partner.xml', | ||
'views/res_country.xml', | ||
'views/account_tax.xml', | ||
'views/res_company.xml', | ||
'views/intrastat.xml', | ||
], | ||
'demo': [ | ||
'demo/intrastat_demo.xml', | ||
], | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
|
||
<data noupdate="1"> | ||
<record id="base.fr" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.de" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.at" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.cy" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.dk" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.es" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.ee" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.fi" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.gr" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.hu" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.ie" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.it" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.lv" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.lt" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.lu" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.mt" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.nl" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.pl" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.pt" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.sk" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.cz" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.uk" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.si" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.se" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.ro" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.bg" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.be" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
<record id="base.hr" model="res.country"> | ||
<field name="intrastat" eval="True"/> | ||
</record> | ||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- | ||
Copyright (C) 2011-2014 Akretion (http://www.akretion.com/) | ||
@author Alexis de Lattre <alexis.delattre@akretion.com> | ||
The licence is in the file __openerp__.py | ||
--> | ||
|
||
<openerp> | ||
<data noupdate="1"> | ||
|
||
<record id="base.main_partner" model="res.partner"> | ||
<field name="vat">FR58441019213</field> | ||
</record> | ||
|
||
<record id="base.res_partner_8" model="res.partner"> <!-- MediaPole --> | ||
<field name="vat">BE0828696437</field> | ||
<field name="supplier">True</field> | ||
</record> | ||
|
||
<record id="base.res_partner_24" model="res.partner"> <!-- OpenCorp --> | ||
<field name="vat">BE0443167858</field> | ||
<field name="supplier">True</field> | ||
</record> | ||
|
||
<record id="base.res_partner_2" model="res.partner"> <!-- Agrolait --> | ||
<field name="vat">BE0884025633</field> | ||
<field name="supplier">True</field> | ||
</record> | ||
|
||
<record id="account.sales_journal" model="account.journal"> | ||
<field name="update_posted">True</field> | ||
</record> | ||
|
||
<record id="account.refund_sales_journal" model="account.journal"> | ||
<field name="update_posted">True</field> | ||
</record> | ||
|
||
<record id="account.expenses_journal" model="account.journal"> | ||
<field name="update_posted">True</field> | ||
</record> | ||
|
||
<record id="account.refund_expenses_journal" model="account.journal"> | ||
<field name="update_posted">True</field> | ||
</record> | ||
|
||
<record id="shipping_costs_exclude" model="product.product"> | ||
<field name="name">Shipping costs</field> | ||
<field name="default_code">SHIP</field> | ||
<field name="type">service</field> | ||
<field name="categ_id" ref="product.product_category_all"/> | ||
<field name="list_price">30</field> | ||
<field name="is_accessory_cost">True</field> | ||
</record> | ||
|
||
</data> | ||
</openerp> |
Oops, something went wrong.