Skip to content

Commit

Permalink
[MIG] l10n_be_national_number > l10n_be_partner_identification
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Mar 29, 2024
1 parent d41fcdb commit 39ec13a
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 55 deletions.
14 changes: 1 addition & 13 deletions l10n_be_national_number/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,13 @@ Belgium - National Number

|badge1| |badge2| |badge3|

Belgian National Number
Emptied/

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

Implement a validation method.

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

Expand All @@ -52,13 +47,6 @@ Authors

* Coop IT Easy SC

Contributors
~~~~~~~~~~~~

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Victor Champonnois

Maintainers
~~~~~~~~~~~

Expand Down
7 changes: 3 additions & 4 deletions l10n_be_national_number/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@
{
"name": "Belgium - National Number",
"summary": """
Belgian National Numbe.""",
"version": "16.0.1.0.0",
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": [
"partner_identification",
"l10n_be_partner_identification",
],
"data": ["data/res_partner_id_category.xml"],
"excludes": [],
"demo": [],
"qweb": [],
Expand Down
9 changes: 0 additions & 9 deletions l10n_be_national_number/data/res_partner_id_category.xml

This file was deleted.

17 changes: 17 additions & 0 deletions l10n_be_national_number/migrations/16.0.2.0.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
old_id = env.ref("l10n_be_national_number.l10n_be_national_number_category")
new_id = env.ref(
"l10n_be_partner_identification.l10n_be_national_registry_number_category"
).id
for id_numbers in (
env["res.partner"]
.with_context(active_test=False)
.search([])
.mapped("id_numbers")
):
if id_numbers.category_id == old_id:
id_numbers.category_id = new_id
3 changes: 0 additions & 3 deletions l10n_be_national_number/readme/CONTRIBUTORS.rst

This file was deleted.

2 changes: 1 addition & 1 deletion l10n_be_national_number/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Belgian National Number
Emptied/
1 change: 0 additions & 1 deletion l10n_be_national_number/readme/ROADMAP.rst

This file was deleted.

33 changes: 9 additions & 24 deletions l10n_be_national_number/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,51 +369,36 @@ <h1 class="title">Belgium - National Number</h1>
!! source digest: sha256:c62a811464aa978a3fd6b62a70ba6f765704028094283ca84edacc39627a72ad
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/coopiteasy/addons/tree/16.0/l10n_be_national_number"><img alt="coopiteasy/addons" src="https://img.shields.io/badge/github-coopiteasy%2Faddons-lightgray.png?logo=github" /></a></p>
<p>Belgian National Number</p>
<p>Emptied/</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-1">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-4">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#toc-entry-1">Known issues / Roadmap</a></h1>
<p>Implement a validation method.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/addons/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/coopiteasy/addons/issues/new?body=module:%20l10n_be_national_number%0Aversion:%2016.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="#toc-entry-3">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
<ul class="simple">
<li>Coop IT Easy SC</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<ul class="simple">
<li><a class="reference external" href="https://coopiteasy.be">Coop IT Easy SC</a>:<ul>
<li>Victor Champonnois</li>
</ul>
</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-4">Maintainers</a></h2>
<p>Current maintainer:</p>
<p><a class="reference external image-reference" href="https://github.com/victor-champonnois"><img alt="victor-champonnois" src="https://github.com/victor-champonnois.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/coopiteasy/addons/tree/16.0/l10n_be_national_number">coopiteasy/addons</a> project on GitHub.</p>
Expand Down

0 comments on commit 39ec13a

Please sign in to comment.