Skip to content

Commit 0fdc4ef

Browse files
committed
Merge PR #330 into 19.0
Signed-off-by alexis-via
2 parents e2dddbf + bb106f5 commit 0fdc4ef

31 files changed

+2111
-0
lines changed

intrastat_base/README.rst

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
========================
6+
Intrastat Reporting Base
7+
========================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:2ef7912c1e42dd16e45722cb20b94fb6c3311a7019648cc51db7ba92c7a47995
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fintrastat--extrastat-lightgray.png?logo=github
24+
:target: https://github.com/OCA/intrastat-extrastat/tree/19.0/intrastat_base
25+
:alt: OCA/intrastat-extrastat
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/intrastat-extrastat-19-0/intrastat-extrastat-19-0-intrastat_base
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module contains common functions for the intrastat reporting and
36+
should be used in combination with the generic reporting module
37+
*intrastat_product* and with the country-specific reporting modules such
38+
as:
39+
40+
- *l10n_fr_intrastat_service*: the module for the *Déclaration
41+
Européenne des Services* (DES) for France
42+
- *l10n_fr_intrastat_product*: the module for the *Déclaration
43+
d'Echange de Biens* (DEB) for France
44+
- *l10n_be_intrastat_product*: the module for the Intrastat Declaration
45+
for Belgium.
46+
47+
**Table of contents**
48+
49+
.. contents::
50+
:local:
51+
52+
Installation
53+
============
54+
55+
WARNING:
56+
57+
This module conflicts with the module *account_intrastat* from Odoo
58+
Enterprise. If you have already installed the module
59+
*account_intrastat*, you should uninstall it first before installing
60+
this module.
61+
62+
Usage
63+
=====
64+
65+
This module adds an intrastat property on fiscal positions.
66+
67+
With this module, the country field on partners becomes a required
68+
field.
69+
70+
It adds an *Intrastat* section on the *Invoicing* configuration page.
71+
72+
Bug Tracker
73+
===========
74+
75+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/intrastat-extrastat/issues>`_.
76+
In case of trouble, please check there if your issue has already been reported.
77+
If you spotted it first, help us to smash it by providing a detailed and welcomed
78+
`feedback <https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20intrastat_base%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
79+
80+
Do not contact contributors directly about support or help with technical issues.
81+
82+
Credits
83+
=======
84+
85+
Authors
86+
-------
87+
88+
* ACSONE SA/NV
89+
* Akretion
90+
* Noviat
91+
92+
Contributors
93+
------------
94+
95+
- Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
96+
- Luc De Meyer, Noviat <info@noviat.com>
97+
- Kumar Aberer, brain-tec AG <kumar.aberer@braintec-group.com>
98+
- Andrea Stirpe <a.stirpe@onestein.nl>
99+
- Denis Roussel <denis.roussel@acsone.eu>
100+
101+
Maintainers
102+
-----------
103+
104+
This module is maintained by the OCA.
105+
106+
.. image:: https://odoo-community.org/logo.png
107+
:alt: Odoo Community Association
108+
:target: https://odoo-community.org
109+
110+
OCA, or the Odoo Community Association, is a nonprofit organization whose
111+
mission is to support the collaborative development of Odoo features and
112+
promote its widespread use.
113+
114+
.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
115+
:target: https://github.com/alexis-via
116+
:alt: alexis-via
117+
.. |maintainer-luc-demeyer| image:: https://github.com/luc-demeyer.png?size=40px
118+
:target: https://github.com/luc-demeyer
119+
:alt: luc-demeyer
120+
121+
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
122+
123+
|maintainer-alexis-via| |maintainer-luc-demeyer|
124+
125+
This module is part of the `OCA/intrastat-extrastat <https://github.com/OCA/intrastat-extrastat/tree/19.0/intrastat_base>`_ project on GitHub.
126+
127+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

intrastat_base/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import models
2+
from . import wizards

intrastat_base/__manifest__.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright 2011-2022 Akretion (http://www.akretion.com)
2+
# Copyright 2018-2022 brain-tec AG (Kumar Aberer <kumar.aberer@braintec-group.com>)
3+
# Copyright 2009-2022 Noviat (http://www.noviat.com)
4+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
5+
6+
{
7+
"name": "Intrastat Reporting Base",
8+
"version": "19.0.1.0.0",
9+
"category": "Intrastat",
10+
"license": "AGPL-3",
11+
"summary": "Base module for Intrastat reporting",
12+
"author": "ACSONE SA/NV,Akretion,Noviat,Odoo Community Association (OCA)",
13+
"maintainers": ["alexis-via", "luc-demeyer"],
14+
"website": "https://github.com/OCA/intrastat-extrastat",
15+
"depends": ["base_vat", "account"],
16+
"excludes": ["account_intrastat"],
17+
"data": [
18+
"views/product_template.xml",
19+
"views/res_partner.xml",
20+
"views/res_config_settings.xml",
21+
"views/intrastat.xml",
22+
"views/account_fiscal_position.xml",
23+
],
24+
"demo": ["demo/intrastat_demo.xml"],
25+
"installable": True,
26+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!--
3+
Copyright 2011-2022 Akretion France (http://www.akretion.com/)
4+
@author: Alexis de Lattre <alexis.delattre@akretion.com>
5+
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
6+
-->
7+
<odoo noupdate="1">
8+
<record id="base.main_partner" model="res.partner">
9+
<field name="vat">FR58441019213</field>
10+
</record>
11+
<!-- Create a few partners from several EU countries
12+
with real/valid VAT number -->
13+
<record id="noviat" model="res.partner">
14+
<field name="name">Noviat</field>
15+
<field name="is_company">1</field>
16+
<field name="website">https://www.noviat.com</field>
17+
<field name="street">Avenue de Rusatiralaan 1</field>
18+
<field name="city">Ganshoren</field>
19+
<field name="zip">1083</field>
20+
<field name="country_id" ref="base.be" />
21+
<field name="vat">BE0820512013</field>
22+
</record>
23+
<record id="acsone" model="res.partner">
24+
<field name="name">Acsone</field>
25+
<field name="is_company">1</field>
26+
<field name="website">https://www.acsone.eu</field>
27+
<field name="street">Drève Richelle, 167</field>
28+
<field name="city">Waterloo</field>
29+
<field name="zip">1410</field>
30+
<field name="country_id" ref="base.be" />
31+
<field name="vat">BE0835207216</field>
32+
</record>
33+
<record id="tecnativa" model="res.partner">
34+
<field name="name">Tecnativa</field>
35+
<field name="is_company">1</field>
36+
<field name="website">https://www.tecnativa.com</field>
37+
<field name="street">Calle Tormos 1-A, 25</field>
38+
<field name="city">Alicante</field>
39+
<field name="zip">03008</field>
40+
<field name="country_id" ref="base.es" />
41+
<field name="vat">ESB87530432</field>
42+
</record>
43+
<record id="forgeflow" model="res.partner">
44+
<field name="name">ForgeFlow</field>
45+
<field name="is_company">1</field>
46+
<field name="website">https://www.forgeflow.com</field>
47+
<field name="street">Rosselló 319, 6-1</field>
48+
<field name="city">Barcelona</field>
49+
<field name="zip">08037</field>
50+
<field name="country_id" ref="base.es" />
51+
<field name="vat">ESB66676008</field>
52+
</record>
53+
<record id="akretion_france" model="res.partner">
54+
<field name="name">Akretion France</field>
55+
<field name="is_company">1</field>
56+
<field name="website">https://www.akretion.com</field>
57+
<field name="street">27 rue Henri Rolland</field>
58+
<field name="city">Villeurbanne</field>
59+
<field name="zip">69100</field>
60+
<field name="country_id" ref="base.fr" />
61+
<field name="vat">FR86792377731</field>
62+
</record>
63+
<record id="shipping_costs_exclude" model="product.product">
64+
<field name="name">Shipping costs</field>
65+
<field name="default_code">SHIP_S</field>
66+
<field name="type">service</field>
67+
<field name="categ_id" ref="product.product_category_services" />
68+
<field name="list_price">30</field>
69+
<field name="is_accessory_cost" eval="True" />
70+
</record>
71+
</odoo>

0 commit comments

Comments
 (0)