Skip to content

Commit

Permalink
l10n_fr_intrastat_service: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Jan 19, 2024
1 parent 84aa5e7 commit 1b1a6ac
Show file tree
Hide file tree
Showing 10 changed files with 83 additions and 27 deletions.
37 changes: 24 additions & 13 deletions l10n_fr_intrastat_service/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,27 @@ DES
: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_service
:target: https://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_service
: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_service
:target: https://translation.odoo-community.org/projects/l10n-france-17-0/l10n-france-17-0-l10n_fr_intrastat_service
: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 **Déclaration Européenne des Services** (DES) for France.
This module adds support for the **Déclaration Européenne des Services**
(DES) for France.

The DES declaration has been introduced on January 1st 2010 in France. All French companies must send this declaration each month to France's Customs administration if they sell services without VAT to other EU companies.
The DES declaration has been introduced on January 1st 2010 in France.
All French companies must send this declaration each month to France's
Customs administration if they sell services without VAT to other EU
companies.

More information about the DES is available on this `official web page <https://www.douane.gouv.fr/service-en-ligne/declaration-europeenne-de-services-des>`_.
More information about the DES is available on this `official web
page <https://www.douane.gouv.fr/service-en-ligne/declaration-europeenne-de-services-des>`__.

**Table of contents**

Expand All @@ -42,33 +47,39 @@ More information about the DES is available on this `official web page <https://
Usage
=====

To use this module, you need to go to the menu Invoicing > Reports > Intrastat > DES and create a new DES. Then, click on the button *Generate lines from invoices* to automatically generate the lines of DES. After checking the lines that have been automatically generated, click on the button *Attach XML file* to create the XML file corresponding to the DES. Eventually, connect to your account on `pro.douane <https://pro.douane.gouv.fr/>`_ and upload the XML file.
To use this module, you need to go to the menu Invoicing > Reports >
Intrastat > DES and create a new DES. Then, click on the button
*Generate lines from invoices* to automatically generate the lines of
DES. After checking the lines that have been automatically generated,
click on the button *Attach XML file* to create the XML file
corresponding to the DES. Eventually, connect to your account on
`pro.douane <https://pro.douane.gouv.fr/>`__ and upload the 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_service%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_service%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 <[email protected]>
- Alexis de Lattre <[email protected]>

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

This module is maintained by the OCA.

Expand All @@ -88,6 +99,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_service>`_ project on GitHub.
This module is part of the `OCA/l10n-france <https://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_service>`_ 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_service/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
1 change: 1 addition & 0 deletions l10n_fr_intrastat_service/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Alexis de Lattre \<<[email protected]>\>
1 change: 0 additions & 1 deletion l10n_fr_intrastat_service/readme/CONTRIBUTORS.rst

This file was deleted.

10 changes: 10 additions & 0 deletions l10n_fr_intrastat_service/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This module adds support for the **Déclaration Européenne des Services**
(DES) for France.

The DES declaration has been introduced on January 1st 2010 in France.
All French companies must send this declaration each month to France's
Customs administration if they sell services without VAT to other EU
companies.

More information about the DES is available on this [official web
page](https://www.douane.gouv.fr/service-en-ligne/declaration-europeenne-de-services-des).
5 changes: 0 additions & 5 deletions l10n_fr_intrastat_service/readme/DESCRIPTION.rst

This file was deleted.

7 changes: 7 additions & 0 deletions l10n_fr_intrastat_service/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To use this module, you need to go to the menu Invoicing \> Reports \>
Intrastat \> DES and create a new DES. Then, click on the button
*Generate lines from invoices* to automatically generate the lines of
DES. After checking the lines that have been automatically generated,
click on the button *Attach XML file* to create the XML file
corresponding to the DES. Eventually, connect to your account on
[pro.douane](https://pro.douane.gouv.fr/) and upload the XML file.
1 change: 0 additions & 1 deletion l10n_fr_intrastat_service/readme/USAGE.rst

This file was deleted.

20 changes: 20 additions & 0 deletions l10n_fr_intrastat_service/report/report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2024 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <[email protected]>
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>


<record id="xlsx_report" model="ir.actions.report">
<field name="name">DES Excel</field>
<field name="model">l10n.fr.intrastat.service.declaration</field>
<field name="report_type">xlsx</field>
<field name="report_name">l10n_fr_intrastat_service.xlsx</field>
<field name="report_file">l10n_fr_intrastat_service.xlsx</field>
<field name="print_report_name">'DES-' + object.year_month</field>
</record>


</odoo>
25 changes: 18 additions & 7 deletions l10n_fr_intrastat_service/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,15 @@ <h1 class="title">DES</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c08e716afb48f738a270af33bd39f5065b3c949f6fcae1366b8c6ff7930e1813
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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_service"><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_service"><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 <strong>Déclaration Européenne des Services</strong> (DES) for France.</p>
<p>The DES declaration has been introduced on January 1st 2010 in France. All French companies must send this declaration each month to France’s Customs administration if they sell services without VAT to other EU companies.</p>
<p>More information about the DES is available on this <a class="reference external" href="https://www.douane.gouv.fr/service-en-ligne/declaration-europeenne-de-services-des">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_service"><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_service"><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 <strong>Déclaration Européenne des Services</strong>
(DES) for France.</p>
<p>The DES declaration has been introduced on January 1st 2010 in France.
All French companies must send this declaration each month to France’s
Customs administration if they sell services without VAT to other EU
companies.</p>
<p>More information about the DES is available on this <a class="reference external" href="https://www.douane.gouv.fr/service-en-ligne/declaration-europeenne-de-services-des">official web
page</a>.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -388,14 +393,20 @@ <h1 class="title">DES</h1>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>To use this module, you need to go to the menu Invoicing &gt; Reports &gt; Intrastat &gt; DES and create a new DES. Then, click on the button <em>Generate lines from invoices</em> to automatically generate the lines of DES. After checking the lines that have been automatically generated, click on the button <em>Attach XML file</em> to create the XML file corresponding to the DES. Eventually, connect to your account on <a class="reference external" href="https://pro.douane.gouv.fr/">pro.douane</a> and upload the XML file.</p>
<p>To use this module, you need to go to the menu Invoicing &gt; Reports &gt;
Intrastat &gt; DES and create a new DES. Then, click on the button
<em>Generate lines from invoices</em> to automatically generate the lines of
DES. After checking the lines that have been automatically generated,
click on the button <em>Attach XML file</em> to create the XML file
corresponding to the DES. Eventually, connect to your account on
<a class="reference external" href="https://pro.douane.gouv.fr/">pro.douane</a> and upload the XML file.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">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_service%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_service%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 @@ -421,7 +432,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">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_service">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_service">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 1b1a6ac

Please sign in to comment.