diff --git a/l10n_be_national_number/README.rst b/l10n_be_national_number/README.rst new file mode 100644 index 00000000..5103293d --- /dev/null +++ b/l10n_be_national_number/README.rst @@ -0,0 +1,63 @@ +========================= +Belgium - National Number +========================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:c62a811464aa978a3fd6b62a70ba6f765704028094283ca84edacc39627a72ad + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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-coopiteasy%2Faddons-lightgray.png?logo=github + :target: https://github.com/coopiteasy/addons/tree/16.0/l10n_be_national_number + :alt: coopiteasy/addons + +|badge1| |badge2| |badge3| + +Emptied/ + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Coop IT Easy SC + +Maintainers +~~~~~~~~~~~ + +.. |maintainer-victor-champonnois| image:: https://github.com/victor-champonnois.png?size=40px + :target: https://github.com/victor-champonnois + :alt: victor-champonnois + +Current maintainer: + +|maintainer-victor-champonnois| + +This module is part of the `coopiteasy/addons `_ project on GitHub. + +You are welcome to contribute. diff --git a/l10n_be_national_number/__init__.py b/l10n_be_national_number/__init__.py new file mode 100644 index 00000000..bddcc21b --- /dev/null +++ b/l10n_be_national_number/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 Coop IT Easy SC +# +# SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/l10n_be_national_number/__manifest__.py b/l10n_be_national_number/__manifest__.py new file mode 100644 index 00000000..0ff94598 --- /dev/null +++ b/l10n_be_national_number/__manifest__.py @@ -0,0 +1,22 @@ +# SPDX-FileCopyrightText: 2023 Coop IT Easy SC +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +{ + "name": "Belgium - National Number", + "summary": """ + Emptied.""", + "version": "16.0.2.0.0", + "category": "Contact", + "website": "https://github.com/coopiteasy/addons", + "author": "Coop IT Easy SC, Odoo Community Association (OCA)", + "maintainers": ["victor-champonnois"], + "license": "AGPL-3", + "application": False, + "depends": [ + "l10n_be_partner_identification", + ], + "excludes": [], + "demo": [], + "qweb": [], +} diff --git a/l10n_be_national_number/i18n/l10n_be_national_number.pot b/l10n_be_national_number/i18n/l10n_be_national_number.pot new file mode 100644 index 00000000..5490445e --- /dev/null +++ b/l10n_be_national_number/i18n/l10n_be_national_number.pot @@ -0,0 +1,19 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_be_national_number +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_be_national_number +#: model:res.partner.id_category,name:l10n_be_national_number.l10n_be_national_number_category +msgid "Belgium National Number" +msgstr "" diff --git a/l10n_be_national_number/migrations/16.0.2.0.0/pre-migration.py b/l10n_be_national_number/migrations/16.0.2.0.0/pre-migration.py new file mode 100644 index 00000000..7281c8aa --- /dev/null +++ b/l10n_be_national_number/migrations/16.0.2.0.0/pre-migration.py @@ -0,0 +1,15 @@ +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + old_id = env.ref("l10n_be_national_number.l10n_be_national_number_category").id + new_id = env.ref( + "l10n_be_partner_identification.l10n_be_national_registry_number_category" + ).id + id_numbers = ( + env["res.partner.id_number"] + .with_context(active_test=False) + .search([("category_id", "=", old_id)]) + ) + id_numbers.write({"category_id": new_id}) diff --git a/l10n_be_national_number/readme/DESCRIPTION.rst b/l10n_be_national_number/readme/DESCRIPTION.rst new file mode 100644 index 00000000..728a6d96 --- /dev/null +++ b/l10n_be_national_number/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Emptied/ diff --git a/l10n_be_national_number/static/description/icon.png b/l10n_be_national_number/static/description/icon.png new file mode 100644 index 00000000..3a0328b5 Binary files /dev/null and b/l10n_be_national_number/static/description/icon.png differ diff --git a/l10n_be_national_number/static/description/index.html b/l10n_be_national_number/static/description/index.html new file mode 100644 index 00000000..430fa349 --- /dev/null +++ b/l10n_be_national_number/static/description/index.html @@ -0,0 +1,410 @@ + + + + + +Belgium - National Number + + + +
+

Belgium - National Number

+ + +

Beta License: AGPL-3 coopiteasy/addons

+

Emptied/

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Coop IT Easy SC
  • +
+
+
+

Maintainers

+

Current maintainer:

+

victor-champonnois

+

This module is part of the coopiteasy/addons project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/setup/l10n_be_national_number/odoo/addons/l10n_be_national_number b/setup/l10n_be_national_number/odoo/addons/l10n_be_national_number new file mode 120000 index 00000000..9b5a7791 --- /dev/null +++ b/setup/l10n_be_national_number/odoo/addons/l10n_be_national_number @@ -0,0 +1 @@ +../../../../l10n_be_national_number \ No newline at end of file diff --git a/setup/l10n_be_national_number/setup.py b/setup/l10n_be_national_number/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/l10n_be_national_number/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)