Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b5f1d9a
[ADD] intrastat_base: Redesign for 6.1
Apr 4, 2011
769956e
[MIG] intrastat_base: Migration to 7.0
Apr 24, 2013
84b4be7
[FIX] intrastat_base: Several things
bealdav Mar 9, 2014
41bab17
[IMP] intrastat_base: Several improvements:
Apr 14, 2014
a8510ae
[MIG] intrastat_base: Migration to 8.0
Jun 23, 2014
9ea20f0
Make dutch ICP report workable on odoo 8.0 [FIX] Some small changes i…
NL66278 Feb 4, 2015
f869b0c
Continue the port to the new API Access for intrastat report to accou…
Feb 7, 2015
27abedf
Revert rename of _check_generate_lines to version withouth underscore.
NL66278 Feb 13, 2015
6f94b51
[IMP] intrasta_base: Several imps:
Apr 14, 2015
c3569b2
[REF] intrastat_base: major update intrastat V3
luc-demeyer Oct 20, 2015
59a3934
[IMP] intrastat_base: A lot of imps:
alexis-via Nov 10, 2015
863da64
[FIX] intrastat_base: this week's ci errors + wrong variable name
hbrunn May 30, 2016
629ccfd
Cleaner view inheritance (works both in v8 and v9)
alexis-via Jun 21, 2016
9e1ad00
update intrastat_base
luc-demeyer Oct 3, 2016
e10548e
[IMP] intrastat_base: Update README.rst + rename variables + restore …
alexis-via Oct 3, 2016
35c04a5
[MIG] intrastat_base: Migration to v10
alexis-via Oct 11, 2016
e419e9e
[MIG] intrastat_base: Migration to 11.0
Mar 9, 2018
5f9f95c
[IMP] *: removed utf-8 headers, changed icon and site
rvalyi Jul 28, 2018
d23520d
[10.0][FIX] intrastat_common - remove check on EUR
luc-demeyer Aug 16, 2018
d33c78f
Add new module product_harmonized_system_delivery (hide native hs_cod…
alexis-via Dec 6, 2018
71ce016
[FIX+IMP] intrastat_*: Several things:
alexis-via Dec 10, 2018
ea11ddb
[MIG] intrastat_product: Migration to 11.0
luc-demeyer Apr 17, 2019
5172343
Update translation files
oca-transbot May 20, 2019
ca74737
Prepare v12 branch
alexis-via May 27, 2019
bf1c3be
[MIG] Migrate all modules from v11 to v12
alexis-via May 28, 2019
6a6bdb8
Update translation files
oca-transbot Jun 16, 2019
3d58bc2
[MIG] intrastat_base: Migration to 13.0
luc-demeyer Jan 14, 2020
5d92123
pre-commit
luc-demeyer Jan 14, 2020
62ee3e5
[UPD] Update intrastat_base.pot
oca-travis Jan 17, 2020
c4eb2a3
[UPD] README.rst
OCA-git-bot Jan 17, 2020
5fb08c8
Update translation files
oca-transbot Jan 31, 2020
0b77605
[MIG] intrastat_product: Migration to 13.0
luc-demeyer Feb 26, 2020
83f40fb
[13.0][FIX]attach_xml_file
luc-demeyer Mar 3, 2020
f14e147
intrastat_base 13.0.1.1.0
OCA-git-bot Mar 3, 2020
a75f778
pre-commit update
OCA-git-bot Mar 14, 2020
aa79b94
intrastat_product: Add xml_attachment_id field
alexis-via Jun 8, 2020
821fd1f
Update translation files
oca-transbot Aug 16, 2020
b03b74a
[MIG] intrastat_base from v13 to v14
alexis-via Oct 14, 2020
ef04b29
intrastat_base: remove methods in intrastat.common that are not usefu…
alexis-via Oct 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions intrastat_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
========================
Intrastat Reporting Base
========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fintrastat--extrastat-lightgray.png?logo=github
:target: https://github.com/OCA/intrastat-extrastat/tree/13.0/intrastat_base
:alt: OCA/intrastat-extrastat
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/intrastat-extrastat-13-0/intrastat-extrastat-13-0-intrastat_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/227/13.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
:local:

Installation
============

WARNING:

This module conflicts with the module *account_intrastat* from Odoo Enterprise.
If you have already installed the module *account_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 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 an *Intrastat* section on the *Invoicing* configuration page.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/intrastat-extrastat/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 <https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20intrastat_base%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion
* Noviat

Contributors
~~~~~~~~~~~~

* Alexis de Lattre, Akretion <[email protected]>
* Luc De Meyer, Noviat <[email protected]>
* Kumar Aberer, brain-tec AG <[email protected]>
* Andrea Stirpe <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/intrastat-extrastat <https://github.com/OCA/intrastat-extrastat/tree/13.0/intrastat_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions intrastat_base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
28 changes: 28 additions & 0 deletions intrastat_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2011-2020 Akretion (http://www.akretion.com)
# Copyright 2018-2020 brain-tec AG (Kumar Aberer <[email protected]>)
# Copyright 2009-2020 Noviat (http://www.noviat.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Intrastat Reporting Base",
"version": "14.0.1.0.0",
"category": "Intrastat",
"license": "AGPL-3",
"summary": "Base module for Intrastat reporting",
"author": "Akretion,Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/intrastat",
"depends": ["base_vat", "account"],
"excludes": ["account_intrastat"],
"data": [
"security/ir.model.access.csv",
"data/country_data.xml",
"views/product_template.xml",
"views/res_partner.xml",
"views/res_country.xml",
"views/account_tax.xml",
"views/res_config_settings.xml",
"views/intrastat.xml",
],
"demo": ["demo/intrastat_demo.xml"],
"installable": True,
}
87 changes: 87 additions & 0 deletions intrastat_base/data/country_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo 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>
</odoo>
23 changes: 23 additions & 0 deletions intrastat_base/demo/intrastat_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2011-2020 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <[email protected]>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo noupdate="1">
<record id="base.main_partner" model="res.partner">
<field name="vat">FR58441019213</field>
</record>
<record id="base.res_partner_2" model="res.partner">
<!-- Deco Addict -->
<field name="vat">BE0884025633</field>
</record>
<record id="shipping_costs_exclude" model="product.product">
<field name="name">Shipping costs</field>
<field name="default_code">SHIP_S</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" eval="True" />
</record>
</odoo>
Loading