Skip to content

Commit

Permalink
[IMP] l10n_fr_intrastat_product: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Sep 28, 2024
1 parent fdc56c4 commit 1dd8b40
Show file tree
Hide file tree
Showing 11 changed files with 93 additions and 39 deletions.
49 changes: 33 additions & 16 deletions l10n_fr_intrastat_product/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@ EMEBI
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_intrastat_product
:target: https://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_product
:alt: OCA/l10n-france
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_intrastat_product
:target: https://translation.odoo-community.org/projects/l10n-france-17-0/l10n-france-17-0-l10n_fr_intrastat_product
: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/l10n-france&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-france&target_branch=17.0
:alt: Try me on Runboat

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

This module adds support for the *Enquête mensuelle statistique sur les échanges de biens intra-UE* (EMEBI), for France. Before 2022, this declaration was called Déclaration d'Échange de Biens (DEB).
This module adds support for the *Enquête mensuelle statistique sur les
échanges de biens intra-UE* (EMEBI), for France. Before 2022, this
declaration was called Déclaration d'Échange de Biens (DEB).

More information about the EMEBI is available on this `official web page <https://www.douane.gouv.fr/fiche/reglementation-sur-la-reponse-lenquete-mensuelle-statistique-sur-les-echanges-de-biens-intra>`_.
More information about the EMEBI is available on this `official web
page <https://www.douane.gouv.fr/fiche/reglementation-sur-la-reponse-lenquete-mensuelle-statistique-sur-les-echanges-de-biens-intra>`__.

**Table of contents**

Expand All @@ -42,43 +45,57 @@ Configuration

To configure this module, you need to:

* go to the menu Invoicing > Configuration > Intrastat > Transaction Types to create/verify the Transaction Types
* go to the menu Invoicing > Settings and go to the *Intrastat* section
- go to the menu Invoicing > Configuration > Intrastat > Transaction
Types to create/verify the Transaction Types
- go to the menu Invoicing > Settings and go to the *Intrastat*
section

Make sure that you have already configured the other modules *intrastat_base* and *intrastat_product* on which this module depends.
Make sure that you have already configured the other modules
*intrastat_base* and *intrastat_product* on which this module depends.

WARNING: there are A LOT of settings for DEB and all these settings need to be configured properly to generate DEBs with Odoo.
WARNING: there are A LOT of settings for DEB and all these settings need
to be configured properly to generate DEBs with Odoo.

Usage
=====

To use this module, you need to go to the menu Invoicing > Reports > Intrastat > EMEBI and create a new EMEBI. Depending on your obligation levels, you may have to create 2 EMEBIs: one for departures (Expéditions) and one for arrivals (Introductions). Then, click on the button *Generate lines from invoices* to automatically generate the computation lines of EMEBI. After checking the lines that have been automatically generated, click on the button *Confirm* to generate the declaration lines, create the XML file and set the declaration readonly. Eventually, connect to your account on `douane.gouv.fr <https://www.douane.gouv.fr/>`_ and upload the EMEBI XML file.
To use this module, you need to go to the menu Invoicing > Reports >
Intrastat > EMEBI and create a new EMEBI. Depending on your obligation
levels, you may have to create 2 EMEBIs: one for departures
(Expéditions) and one for arrivals (Introductions). Then, click on the
button *Generate lines from invoices* to automatically generate the
computation lines of EMEBI. After checking the lines that have been
automatically generated, click on the button *Confirm* to generate the
declaration lines, create the XML file and set the declaration readonly.
Eventually, connect to your account on
`douane.gouv.fr <https://www.douane.gouv.fr/>`__ and upload the EMEBI
XML file.

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

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

* Akretion

Contributors
~~~~~~~~~~~~
------------

* Alexis de Lattre <alexis.delattre@akretion.com>
- Alexis de Lattre <alexis.delattre@akretion.com>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -98,6 +115,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-alexis-via|

This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_intrastat_product>`_ project on GitHub.
This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_product>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions l10n_fr_intrastat_product/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
12 changes: 12 additions & 0 deletions l10n_fr_intrastat_product/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
To configure this module, you need to:

> - go to the menu Invoicing \> Configuration \> Intrastat \>
> Transaction Types to create/verify the Transaction Types
> - go to the menu Invoicing \> Settings and go to the *Intrastat*
> section
Make sure that you have already configured the other modules
*intrastat_base* and *intrastat_product* on which this module depends.

WARNING: there are A LOT of settings for DEB and all these settings need
to be configured properly to generate DEBs with Odoo.
8 changes: 0 additions & 8 deletions l10n_fr_intrastat_product/readme/CONFIGURE.rst

This file was deleted.

1 change: 1 addition & 0 deletions l10n_fr_intrastat_product/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Alexis de Lattre \<<alexis.delattre@akretion.com>\>
1 change: 0 additions & 1 deletion l10n_fr_intrastat_product/readme/CONTRIBUTORS.rst

This file was deleted.

6 changes: 6 additions & 0 deletions l10n_fr_intrastat_product/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This module adds support for the *Enquête mensuelle statistique sur les
échanges de biens intra-UE* (EMEBI), for France. Before 2022, this
declaration was called Déclaration d'Échange de Biens (DEB).

More information about the EMEBI is available on this [official web
page](https://www.douane.gouv.fr/fiche/reglementation-sur-la-reponse-lenquete-mensuelle-statistique-sur-les-echanges-de-biens-intra).
3 changes: 0 additions & 3 deletions l10n_fr_intrastat_product/readme/DESCRIPTION.rst

This file was deleted.

11 changes: 11 additions & 0 deletions l10n_fr_intrastat_product/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
To use this module, you need to go to the menu Invoicing \> Reports \>
Intrastat \> EMEBI and create a new EMEBI. Depending on your obligation
levels, you may have to create 2 EMEBIs: one for departures
(Expéditions) and one for arrivals (Introductions). Then, click on the
button *Generate lines from invoices* to automatically generate the
computation lines of EMEBI. After checking the lines that have been
automatically generated, click on the button *Confirm* to generate the
declaration lines, create the XML file and set the declaration readonly.
Eventually, connect to your account on
[douane.gouv.fr](https://www.douane.gouv.fr/) and upload the EMEBI XML
file.
1 change: 0 additions & 1 deletion l10n_fr_intrastat_product/readme/USAGE.rst

This file was deleted.

37 changes: 27 additions & 10 deletions l10n_fr_intrastat_product/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,12 @@ <h1 class="title">EMEBI</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e31636ac5ffe766e7171b8531d14ecc93e2c162d625a250888f605f9dc92cad4
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_intrastat_product"><img alt="OCA/l10n-france" src="https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-france-16-0/l10n-france-16-0-l10n_fr_intrastat_product"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/l10n-france&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds support for the <em>Enquête mensuelle statistique sur les échanges de biens intra-UE</em> (EMEBI), for France. Before 2022, this declaration was called Déclaration d’Échange de Biens (DEB).</p>
<p>More information about the EMEBI is available on this <a class="reference external" href="https://www.douane.gouv.fr/fiche/reglementation-sur-la-reponse-lenquete-mensuelle-statistique-sur-les-echanges-de-biens-intra">official web page</a>.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_product"><img alt="OCA/l10n-france" src="https://img.shields.io/badge/github-OCA%2Fl10n--france-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-france-17-0/l10n-france-17-0-l10n_fr_intrastat_product"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/l10n-france&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds support for the <em>Enquête mensuelle statistique sur les
échanges de biens intra-UE</em> (EMEBI), for France. Before 2022, this
declaration was called Déclaration d’Échange de Biens (DEB).</p>
<p>More information about the EMEBI is available on this <a class="reference external" href="https://www.douane.gouv.fr/fiche/reglementation-sur-la-reponse-lenquete-mensuelle-statistique-sur-les-echanges-de-biens-intra">official web
page</a>.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -391,23 +394,37 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
<p>To configure this module, you need to:</p>
<blockquote>
<ul class="simple">
<li>go to the menu Invoicing &gt; Configuration &gt; Intrastat &gt; Transaction Types to create/verify the Transaction Types</li>
<li>go to the menu Invoicing &gt; Settings and go to the <em>Intrastat</em> section</li>
<li>go to the menu Invoicing &gt; Configuration &gt; Intrastat &gt; Transaction
Types to create/verify the Transaction Types</li>
<li>go to the menu Invoicing &gt; Settings and go to the <em>Intrastat</em>
section</li>
</ul>
</blockquote>
<p>Make sure that you have already configured the other modules <em>intrastat_base</em> and <em>intrastat_product</em> on which this module depends.</p>
<p>WARNING: there are A LOT of settings for DEB and all these settings need to be configured properly to generate DEBs with Odoo.</p>
<p>Make sure that you have already configured the other modules
<em>intrastat_base</em> and <em>intrastat_product</em> on which this module depends.</p>
<p>WARNING: there are A LOT of settings for DEB and all these settings need
to be configured properly to generate DEBs with Odoo.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<p>To use this module, you need to go to the menu Invoicing &gt; Reports &gt; Intrastat &gt; EMEBI and create a new EMEBI. Depending on your obligation levels, you may have to create 2 EMEBIs: one for departures (Expéditions) and one for arrivals (Introductions). Then, click on the button <em>Generate lines from invoices</em> to automatically generate the computation lines of EMEBI. After checking the lines that have been automatically generated, click on the button <em>Confirm</em> to generate the declaration lines, create the XML file and set the declaration readonly. Eventually, connect to your account on <a class="reference external" href="https://www.douane.gouv.fr/">douane.gouv.fr</a> and upload the EMEBI XML file.</p>
<p>To use this module, you need to go to the menu Invoicing &gt; Reports &gt;
Intrastat &gt; EMEBI and create a new EMEBI. Depending on your obligation
levels, you may have to create 2 EMEBIs: one for departures
(Expéditions) and one for arrivals (Introductions). Then, click on the
button <em>Generate lines from invoices</em> to automatically generate the
computation lines of EMEBI. After checking the lines that have been
automatically generated, click on the button <em>Confirm</em> to generate the
declaration lines, create the XML file and set the declaration readonly.
Eventually, connect to your account on
<a class="reference external" href="https://www.douane.gouv.fr/">douane.gouv.fr</a> and upload the EMEBI
XML file.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-france/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/l10n-france/issues/new?body=module:%20l10n_fr_intrastat_product%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/l10n-france/issues/new?body=module:%20l10n_fr_intrastat_product%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand All @@ -433,7 +450,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/alexis-via"><img alt="alexis-via" src="https://github.com/alexis-via.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_intrastat_product">OCA/l10n-france</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_product">OCA/l10n-france</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down

0 comments on commit 1dd8b40

Please sign in to comment.