Skip to content

Commit

Permalink
Merge PR #257 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by alexis-via
  • Loading branch information
OCA-git-bot committed Jan 19, 2024
2 parents ccece10 + af5e5f8 commit a1d501b
Show file tree
Hide file tree
Showing 30 changed files with 1,835 additions and 0 deletions.
123 changes: 123 additions & 0 deletions intrastat_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
========================
Intrastat Reporting Base
========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:28aa058f14d9b8414cad83bafa1c8d416330287450167531b2787c4d47348560
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/17.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-17-0/intrastat-extrastat-17-0-intrastat_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/intrastat-extrastat&target_branch=17.0
:alt: Try me on Runboat

|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 fiscal positions.

With this module, the country field on partners becomes a required
field.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/intrastat-extrastat/issues/new?body=module:%20intrastat_base%0Aversion:%2017.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
-------

* ACSONE SA/NV
* Akretion
* Noviat

Contributors
------------

- Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
- Luc De Meyer, Noviat <info@noviat.com>
- Kumar Aberer, brain-tec AG <kumar.aberer@braintec-group.com>
- Andrea Stirpe <a.stirpe@onestein.nl>
- Denis Roussel <denis.roussel@acsone.eu>

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.

.. |maintainer-alexis-via| image:: https://github.com/alexis-via.png?size=40px
:target: https://github.com/alexis-via
:alt: alexis-via
.. |maintainer-luc-demeyer| image:: https://github.com/luc-demeyer.png?size=40px
:target: https://github.com/luc-demeyer
:alt: luc-demeyer

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via| |maintainer-luc-demeyer|

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

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

{
"name": "Intrastat Reporting Base",
"version": "17.0.1.0.0",
"category": "Intrastat",
"license": "AGPL-3",
"summary": "Base module for Intrastat reporting",
"author": "ACSONE SA/NV,Akretion,Noviat,Odoo Community Association (OCA)",
"maintainers": ["alexis-via", "luc-demeyer"],
"website": "https://github.com/OCA/intrastat-extrastat",
"depends": ["base_vat", "account"],
"excludes": ["account_intrastat"],
"data": [
"views/product_template.xml",
"views/res_partner.xml",
"views/res_config_settings.xml",
"views/intrastat.xml",
"views/account_fiscal_position.xml",
],
"demo": ["demo/intrastat_demo.xml"],
"installable": True,
}
71 changes: 71 additions & 0 deletions intrastat_base/demo/intrastat_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2011-2022 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
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>
<!-- Create a few partners from several EU countries
with real/valid VAT number -->
<record id="noviat" model="res.partner">
<field name="name">Noviat</field>
<field name="is_company">1</field>
<field name="website">https://www.noviat.com</field>
<field name="street">Avenue de Rusatiralaan 1</field>
<field name="city">Ganshoren</field>
<field name="zip">1083</field>
<field name="country_id" ref="base.be" />
<field name="vat">BE0820512013</field>
</record>
<record id="acsone" model="res.partner">
<field name="name">Acsone</field>
<field name="is_company">1</field>
<field name="website">https://www.acsone.eu</field>
<field name="street">Drève Richelle, 167</field>
<field name="city">Waterloo</field>
<field name="zip">1410</field>
<field name="country_id" ref="base.be" />
<field name="vat">BE0835207216</field>
</record>
<record id="tecnativa" model="res.partner">
<field name="name">Tecnativa</field>
<field name="is_company">1</field>
<field name="website">https://www.tecnativa.com</field>
<field name="street">Calle Tormos 1-A, 25</field>
<field name="city">Alicante</field>
<field name="zip">03008</field>
<field name="country_id" ref="base.es" />
<field name="vat">ESB87530432</field>
</record>
<record id="forgeflow" model="res.partner">
<field name="name">ForgeFlow</field>
<field name="is_company">1</field>
<field name="website">https://www.forgeflow.com</field>
<field name="street">Rosselló 319, 6-1</field>
<field name="city">Barcelona</field>
<field name="zip">08037</field>
<field name="country_id" ref="base.es" />
<field name="vat">ESB66676008</field>
</record>
<record id="akretion_france" model="res.partner">
<field name="name">Akretion France</field>
<field name="is_company">1</field>
<field name="website">https://www.akretion.com</field>
<field name="street">27 rue Henri Rolland</field>
<field name="city">Villeurbanne</field>
<field name="zip">69100</field>
<field name="country_id" ref="base.fr" />
<field name="vat">FR86792377731</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="detailed_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

0 comments on commit a1d501b

Please sign in to comment.