Skip to content

Commit 39ec13a

Browse files
[MIG] l10n_be_national_number > l10n_be_partner_identification
1 parent d41fcdb commit 39ec13a

File tree

8 files changed

+31
-55
lines changed

8 files changed

+31
-55
lines changed

l10n_be_national_number/README.rst

+1-13
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,13 @@ Belgium - National Number
2222

2323
|badge1| |badge2| |badge3|
2424

25-
Belgian National Number
25+
Emptied/
2626

2727
**Table of contents**
2828

2929
.. contents::
3030
:local:
3131

32-
Known issues / Roadmap
33-
======================
34-
35-
Implement a validation method.
36-
3732
Bug Tracker
3833
===========
3934

@@ -52,13 +47,6 @@ Authors
5247

5348
* Coop IT Easy SC
5449

55-
Contributors
56-
~~~~~~~~~~~~
57-
58-
* `Coop IT Easy SC <https://coopiteasy.be>`_:
59-
60-
* Victor Champonnois
61-
6250
Maintainers
6351
~~~~~~~~~~~
6452

l10n_be_national_number/__manifest__.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@
55
{
66
"name": "Belgium - National Number",
77
"summary": """
8-
Belgian National Numbe.""",
9-
"version": "16.0.1.0.0",
8+
Emptied.""",
9+
"version": "16.0.2.0.0",
1010
"category": "Contact",
1111
"website": "https://github.com/coopiteasy/addons",
1212
"author": "Coop IT Easy SC, Odoo Community Association (OCA)",
1313
"maintainers": ["victor-champonnois"],
1414
"license": "AGPL-3",
1515
"application": False,
1616
"depends": [
17-
"partner_identification",
17+
"l10n_be_partner_identification",
1818
],
19-
"data": ["data/res_partner_id_category.xml"],
2019
"excludes": [],
2120
"demo": [],
2221
"qweb": [],

l10n_be_national_number/data/res_partner_id_category.xml

-9
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from openupgradelib import openupgrade
2+
3+
4+
@openupgrade.migrate()
5+
def migrate(env, version):
6+
old_id = env.ref("l10n_be_national_number.l10n_be_national_number_category")
7+
new_id = env.ref(
8+
"l10n_be_partner_identification.l10n_be_national_registry_number_category"
9+
).id
10+
for id_numbers in (
11+
env["res.partner"]
12+
.with_context(active_test=False)
13+
.search([])
14+
.mapped("id_numbers")
15+
):
16+
if id_numbers.category_id == old_id:
17+
id_numbers.category_id = new_id

l10n_be_national_number/readme/CONTRIBUTORS.rst

-3
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Belgian National Number
1+
Emptied/

l10n_be_national_number/readme/ROADMAP.rst

-1
This file was deleted.

l10n_be_national_number/static/description/index.html

+9-24
Original file line numberDiff line numberDiff line change
@@ -369,51 +369,36 @@ <h1 class="title">Belgium - National Number</h1>
369369
!! source digest: sha256:c62a811464aa978a3fd6b62a70ba6f765704028094283ca84edacc39627a72ad
370370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371371
<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>
372-
<p>Belgian National Number</p>
372+
<p>Emptied/</p>
373373
<p><strong>Table of contents</strong></p>
374374
<div class="contents local topic" id="contents">
375375
<ul class="simple">
376-
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-1">Known issues / Roadmap</a></li>
377-
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
378-
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
379-
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
380-
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
381-
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
376+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
377+
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
378+
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
379+
<li><a class="reference internal" href="#maintainers" id="toc-entry-4">Maintainers</a></li>
382380
</ul>
383381
</li>
384382
</ul>
385383
</div>
386-
<div class="section" id="known-issues-roadmap">
387-
<h1><a class="toc-backref" href="#toc-entry-1">Known issues / Roadmap</a></h1>
388-
<p>Implement a validation method.</p>
389-
</div>
390384
<div class="section" id="bug-tracker">
391-
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
385+
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
392386
<p>Bugs are tracked on <a class="reference external" href="https://github.com/coopiteasy/addons/issues">GitHub Issues</a>.
393387
In case of trouble, please check there if your issue has already been reported.
394388
If you spotted it first, help us to smash it by providing a detailed and welcomed
395389
<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>
396390
<p>Do not contact contributors directly about support or help with technical issues.</p>
397391
</div>
398392
<div class="section" id="credits">
399-
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
393+
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
400394
<div class="section" id="authors">
401-
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
395+
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
402396
<ul class="simple">
403397
<li>Coop IT Easy SC</li>
404398
</ul>
405399
</div>
406-
<div class="section" id="contributors">
407-
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
408-
<ul class="simple">
409-
<li><a class="reference external" href="https://coopiteasy.be">Coop IT Easy SC</a>:<ul>
410-
<li>Victor Champonnois</li>
411-
</ul>
412-
</li>
413-
</ul>
414-
</div>
415400
<div class="section" id="maintainers">
416-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
401+
<h2><a class="toc-backref" href="#toc-entry-4">Maintainers</a></h2>
417402
<p>Current maintainer:</p>
418403
<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>
419404
<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>

0 commit comments

Comments
 (0)