Skip to content

Commit

Permalink
[IMP] l10n_be_intrastat_product: pre-commit execution
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidderen-noviat committed Nov 11, 2023
1 parent 25de62b commit 82a505e
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 45 deletions.
23 changes: 13 additions & 10 deletions l10n_be_intrastat_product/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Intrastat Product Declaration for Belgium
=========================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3404c542886fb42b2a854d16926932906645c0472aab9ea2090bc5604b6ec096
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
Expand All @@ -14,16 +17,16 @@ Intrastat Product Declaration for Belgium
: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--belgium-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-belgium/tree/14.0/l10n_be_intrastat_product
:target: https://github.com/OCA/l10n-belgium/tree/15.0/l10n_be_intrastat_product
:alt: OCA/l10n-belgium
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-belgium-14-0/l10n-belgium-14-0-l10n_be_intrastat_product
:target: https://translation.odoo-community.org/projects/l10n-belgium-15-0/l10n-belgium-15-0-l10n_be_intrastat_product
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/119/14.0
:alt: Try me on Runbot
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-belgium&target_branch=15.0
:alt: Try me on Runboat

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

This module implements the Belgian Intrastat reporting.

Expand Down Expand Up @@ -160,8 +163,8 @@ Bug Tracker

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-belgium/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/l10n-belgium/issues/new?body=module:%20l10n_be_intrastat_product%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-belgium/issues/new?body=module:%20l10n_be_intrastat_product%0Aversion:%2015.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.

Expand Down Expand Up @@ -199,6 +202,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-luc-demeyer|

This module is part of the `OCA/l10n-belgium <https://github.com/OCA/l10n-belgium/tree/14.0/l10n_be_intrastat_product>`_ project on GitHub.
This module is part of the `OCA/l10n-belgium <https://github.com/OCA/l10n-belgium/tree/15.0/l10n_be_intrastat_product>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
72 changes: 37 additions & 35 deletions l10n_be_intrastat_product/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Intrastat Product Declaration for Belgium</title>
<style type="text/css">

/*
:Author: David Goodger ([email protected])
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/

Expand Down Expand Up @@ -366,8 +366,10 @@ <h1 class="title">Intrastat Product Declaration for Belgium</h1>
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3404c542886fb42b2a854d16926932906645c0472aab9ea2090bc5604b6ec096
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" 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" 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" href="https://github.com/OCA/l10n-belgium/tree/14.0/l10n_be_intrastat_product"><img alt="OCA/l10n-belgium" src="https://img.shields.io/badge/github-OCA%2Fl10n--belgium-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/l10n-belgium-14-0/l10n-belgium-14-0-l10n_be_intrastat_product"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/119/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></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-belgium/tree/15.0/l10n_be_intrastat_product"><img alt="OCA/l10n-belgium" src="https://img.shields.io/badge/github-OCA%2Fl10n--belgium-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-belgium-15-0/l10n-belgium-15-0-l10n_be_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-belgium&amp;target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module implements the Belgian Intrastat reporting.</p>
<p>The report can be reviewed and corrected where needed before
the creation of the XML file for the online declaration (ONEGATE).</p>
Expand All @@ -376,57 +378,57 @@ <h1 class="title">Intrastat Product Declaration for Belgium</h1>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#installation" id="id1">Installation</a><ul>
<li><a class="reference internal" href="#conflicting-modules" id="id2">Conflicting modules</a></li>
<li><a class="reference internal" href="#refund-handling" id="id3">Refund handling</a></li>
<li><a class="reference internal" href="#multi-company-setup" id="id4">Multi-company setup</a></li>
<li><a class="reference internal" href="#configuration-wizard-to-load-intrastat-codes" id="id5">Configuration wizard to load intrastat codes</a></li>
<li><a class="reference internal" href="#installation" id="toc-entry-1">Installation</a><ul>
<li><a class="reference internal" href="#conflicting-modules" id="toc-entry-2">Conflicting modules</a></li>
<li><a class="reference internal" href="#refund-handling" id="toc-entry-3">Refund handling</a></li>
<li><a class="reference internal" href="#multi-company-setup" id="toc-entry-4">Multi-company setup</a></li>
<li><a class="reference internal" href="#configuration-wizard-to-load-intrastat-codes" id="toc-entry-5">Configuration wizard to load intrastat codes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#configuration" id="id6">Configuration</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id7">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="id8">Changelog</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id9">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id10">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id11">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id12">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id13">Maintainers</a></li>
<li><a class="reference internal" href="#configuration" id="toc-entry-6">Configuration</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-7">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-8">Changelog</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-9">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-10">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-11">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-12">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-13">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="installation">
<h1><a class="toc-backref" href="#id1">Installation</a></h1>
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
<div class="section" id="conflicting-modules">
<h2><a class="toc-backref" href="#id2">Conflicting modules</a></h2>
<h2><a class="toc-backref" href="#toc-entry-2">Conflicting modules</a></h2>
<p>This module conflicts with the module <em>report_intrastat</em> and <em>l10n_be_intrastat</em>
from the official addons.
If you have already installed these modules,
you should uninstall them before installing this module.</p>
</div>
<div class="section" id="refund-handling">
<h2><a class="toc-backref" href="#id3">Refund handling</a></h2>
<h2><a class="toc-backref" href="#toc-entry-3">Refund handling</a></h2>
<p>We recommend to also install the OCA stock_picking_invoice_link module,
cf. <a class="reference external" href="https://github.com/OCA/stock-logistics-workflow">https://github.com/OCA/stock-logistics-workflow</a>.
This modules establishes a link between invoice lines and stock pickings.
When this module is installed the declaration will take into account refunds created via return pickings.</p>
</div>
<div class="section" id="multi-company-setup">
<h2><a class="toc-backref" href="#id4">Multi-company setup</a></h2>
<h2><a class="toc-backref" href="#toc-entry-4">Multi-company setup</a></h2>
<p>Please ensure to set the Default Company of the OdooBot user to the company
for which you are installing this localization module.
Not doing so may result in a conflict with other localization modules (e.g. l10n_fr_intrastat_product).</p>
</div>
<div class="section" id="configuration-wizard-to-load-intrastat-codes">
<h2><a class="toc-backref" href="#id5">Configuration wizard to load intrastat codes</a></h2>
<h2><a class="toc-backref" href="#toc-entry-5">Configuration wizard to load intrastat codes</a></h2>
<p>The module comes with a configuration wizard that allows you to load the intrastat codes into the database.
The intrastat codes are available in 4 languages : english, dutch, french, german.</p>
<p>If your databases has been configured to support multiple languages, you should execute the wizard
for each language that you want to offer to the users.</p>
</div>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#id6">Configuration</a></h1>
<h1><a class="toc-backref" href="#toc-entry-6">Configuration</a></h1>
<ul>
<li><p class="first">Accounting -&gt; Configuration -&gt; Settings</p>
<ul class="simple">
Expand Down Expand Up @@ -471,7 +473,7 @@ <h1><a class="toc-backref" href="#id6">Configuration</a></h1>
</ul>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#id7">Known issues / Roadmap</a></h1>
<h1><a class="toc-backref" href="#toc-entry-7">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>The current version of the Belgian Intrastat reporting module is only based on invoices.
Since associated stock moves are not taken into consideration, it is possible that manual
Expand All @@ -490,45 +492,45 @@ <h1><a class="toc-backref" href="#id7">Known issues / Roadmap</a></h1>
</ul>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#id8">Changelog</a></h1>
<h1><a class="toc-backref" href="#toc-entry-8">Changelog</a></h1>
<p>This module is also available for olders Odoo versions:</p>
<ul class="simple">
<li>Odoo 12.0 - 13.0: cf. <a class="reference external" href="https://github.com/Noviat/noviat-apps">https://github.com/Noviat/noviat-apps</a></li>
<li>Odoo 7.0 - 11.0: cf. <a class="reference external" href="https://github.com/luc-demeyer/noviat-apps">https://github.com/luc-demeyer/noviat-apps</a></li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id9">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-9">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-belgium/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 smashing it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/l10n-belgium/issues/new?body=module:%20l10n_be_intrastat_product%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
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-belgium/issues/new?body=module:%20l10n_be_intrastat_product%0Aversion:%2015.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">
<h1><a class="toc-backref" href="#id10">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-10">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id11">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-11">Authors</a></h2>
<ul class="simple">
<li>Noviat</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id12">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-12">Contributors</a></h2>
<ul class="simple">
<li>Luc De Meyer &lt;<a class="reference external" href="mailto:luc.demeyer&#64;noviat.com">luc.demeyer&#64;noviat.com</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id13">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-13">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>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.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external" href="https://github.com/luc-demeyer"><img alt="luc-demeyer" src="https://github.com/luc-demeyer.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-belgium/tree/14.0/l10n_be_intrastat_product">OCA/l10n-belgium</a> project on GitHub.</p>
<p><a class="reference external image-reference" href="https://github.com/luc-demeyer"><img alt="luc-demeyer" src="https://github.com/luc-demeyer.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-belgium/tree/15.0/l10n_be_intrastat_product">OCA/l10n-belgium</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
6 changes: 6 additions & 0 deletions setup/l10n_be_intrastat_product/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit 82a505e

Please sign in to comment.