From 14bf2f2ed8fed2f5ae8b9f645f586792abd9c74f Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Wed, 4 Jan 2023 11:58:27 +0100 Subject: [PATCH 1/9] [ADD] l10n_be_national_number Signed-off-by: Carmen Bianca BAKKER --- l10n_be_national_number/README.rst | 72 +++ l10n_be_national_number/__init__.py | 3 + l10n_be_national_number/__manifest__.py | 23 + .../data/res_partner_id_category.xml | 9 + l10n_be_national_number/models/__init__.py | 1 + l10n_be_national_number/models/res_partner.py | 12 + .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 1 + l10n_be_national_number/readme/ROADMAP.rst | 1 + .../static/description/index.html | 424 ++++++++++++++++++ 10 files changed, 549 insertions(+) create mode 100644 l10n_be_national_number/README.rst create mode 100644 l10n_be_national_number/__init__.py create mode 100644 l10n_be_national_number/__manifest__.py create mode 100644 l10n_be_national_number/data/res_partner_id_category.xml create mode 100644 l10n_be_national_number/models/__init__.py create mode 100644 l10n_be_national_number/models/res_partner.py create mode 100644 l10n_be_national_number/readme/CONTRIBUTORS.rst create mode 100644 l10n_be_national_number/readme/DESCRIPTION.rst create mode 100644 l10n_be_national_number/readme/ROADMAP.rst create mode 100644 l10n_be_national_number/static/description/index.html diff --git a/l10n_be_national_number/README.rst b/l10n_be_national_number/README.rst new file mode 100644 index 000000000..0e2bc3d8a --- /dev/null +++ b/l10n_be_national_number/README.rst @@ -0,0 +1,72 @@ +========================= +Belgium - National Number +========================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fl10n--belgium-lightgray.png?logo=github + :target: https://github.com/oca/l10n-belgium/tree/12.0/l10n_be_national_number + :alt: oca/l10n-belgium + +|badge1| |badge2| |badge3| + +Belgian National Number + +**Table of contents** + +.. contents:: + :local: + +Known issues / Roadmap +====================== + +Implement a validation method. + +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 smashing 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 + +Contributors +~~~~~~~~~~~~ + +* `Coop IT Easy SC `_: + + * Victor Champonnois + +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 `oca/l10n-belgium `_ 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 000000000..bddcc21b8 --- /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 000000000..9cb7d815e --- /dev/null +++ b/l10n_be_national_number/__manifest__.py @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: 2023 Coop IT Easy SC +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +{ + "name": "Belgium - National Number", + "summary": """ + Belgian National Number""", + "version": "12.0.1.0.0", + "category": "Contact", + "website": "https://github.com/OCA/l10n-belgium", + "author": "Coop IT Easy SC, Odoo Community Association (OCA)", + "maintainers": ["victor-champonnois"], + "license": "AGPL-3", + "application": False, + "depends": [ + "partner_identification", + ], + "excludes": [], + "data": ["data/res_partner_id_category.xml"], + "demo": [], + "qweb": [], +} diff --git a/l10n_be_national_number/data/res_partner_id_category.xml b/l10n_be_national_number/data/res_partner_id_category.xml new file mode 100644 index 000000000..fa85cb633 --- /dev/null +++ b/l10n_be_national_number/data/res_partner_id_category.xml @@ -0,0 +1,9 @@ + + + + + l10n_be_national_number + Belgium National Number + + + diff --git a/l10n_be_national_number/models/__init__.py b/l10n_be_national_number/models/__init__.py new file mode 100644 index 000000000..91fed54d4 --- /dev/null +++ b/l10n_be_national_number/models/__init__.py @@ -0,0 +1 @@ +from . import res_partner diff --git a/l10n_be_national_number/models/res_partner.py b/l10n_be_national_number/models/res_partner.py new file mode 100644 index 000000000..67b30db71 --- /dev/null +++ b/l10n_be_national_number/models/res_partner.py @@ -0,0 +1,12 @@ +# Copyright 2009-2019 Noviat. +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = 'res.partner' + + national_number = fields.Char( + string='National Number' + ) diff --git a/l10n_be_national_number/readme/CONTRIBUTORS.rst b/l10n_be_national_number/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..146abeb90 --- /dev/null +++ b/l10n_be_national_number/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* `Coop IT Easy SC `_: + + * Victor Champonnois diff --git a/l10n_be_national_number/readme/DESCRIPTION.rst b/l10n_be_national_number/readme/DESCRIPTION.rst new file mode 100644 index 000000000..856b2a670 --- /dev/null +++ b/l10n_be_national_number/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Belgian National Number diff --git a/l10n_be_national_number/readme/ROADMAP.rst b/l10n_be_national_number/readme/ROADMAP.rst new file mode 100644 index 000000000..4415fedb9 --- /dev/null +++ b/l10n_be_national_number/readme/ROADMAP.rst @@ -0,0 +1 @@ +Implement a validation method. 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 000000000..8207ec802 --- /dev/null +++ b/l10n_be_national_number/static/description/index.html @@ -0,0 +1,424 @@ + + + + + + +Belgium - National Number + + + +
+

Belgium - National Number

+ + +

Beta License: AGPL-3 oca/l10n-belgium

+

Belgian National Number

+

Table of contents

+ +
+

Known issues / Roadmap

+

Implement a validation method.

+
+
+

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 smashing 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
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

Current maintainer:

+

victor-champonnois

+

This module is part of the oca/l10n-belgium project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + From a83d04e1f951d46c09ae088c45e82b56798ebffa Mon Sep 17 00:00:00 2001 From: oca-ci Date: Thu, 9 Feb 2023 14:57:58 +0000 Subject: [PATCH 2/9] [UPD] Update l10n_be_national_number.pot Signed-off-by: Carmen Bianca BAKKER --- .../i18n/l10n_be_national_number.pot | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 l10n_be_national_number/i18n/l10n_be_national_number.pot 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 000000000..c8318c7d5 --- /dev/null +++ b/l10n_be_national_number/i18n/l10n_be_national_number.pot @@ -0,0 +1,20 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_be_national_number +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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 "" + From 45ee8ecceaee828b424c27dfae6df6f753f801d2 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 9 Feb 2023 15:01:49 +0000 Subject: [PATCH 3/9] [UPD] README.rst Signed-off-by: Carmen Bianca BAKKER --- l10n_be_national_number/README.rst | 36 +++++++++++++------ .../static/description/index.html | 19 ++++++---- 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/l10n_be_national_number/README.rst b/l10n_be_national_number/README.rst index 0e2bc3d8a..5f96412b3 100644 --- a/l10n_be_national_number/README.rst +++ b/l10n_be_national_number/README.rst @@ -13,11 +13,17 @@ Belgium - National Number .. |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%2Fl10n--belgium-lightgray.png?logo=github - :target: https://github.com/oca/l10n-belgium/tree/12.0/l10n_be_national_number - :alt: oca/l10n-belgium - -|badge1| |badge2| |badge3| +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--belgium-lightgray.png?logo=github + :target: https://github.com/OCA/l10n-belgium/tree/12.0/l10n_be_national_number + :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-12-0/l10n-belgium-12-0-l10n_be_national_number + :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/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| Belgian National Number @@ -34,10 +40,10 @@ Implement a validation method. Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -59,14 +65,24 @@ Contributors 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-victor-champonnois| image:: https://github.com/victor-champonnois.png?size=40px :target: https://github.com/victor-champonnois :alt: victor-champonnois -Current maintainer: +Current `maintainer `__: |maintainer-victor-champonnois| -This module is part of the `oca/l10n-belgium `_ project on GitHub. +This module is part of the `OCA/l10n-belgium `_ project on GitHub. -You are welcome to contribute. +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_be_national_number/static/description/index.html b/l10n_be_national_number/static/description/index.html index 8207ec802..5715f22db 100644 --- a/l10n_be_national_number/static/description/index.html +++ b/l10n_be_national_number/static/description/index.html @@ -3,7 +3,7 @@ - + Belgium - National Number