s8kZj2<{P&vQR-S&zZ(SX
zm8ry`#2fkkcdFF6L%wpKb!#bi`i3UgRO$oNrXAGIn?9;Mau3k^tx``jJ}OB8v9Mnf
z0)ts?2msh)&a_pvbdjjdSCFy;V?u=g9{FQx6#sM*D)0;_eBu|aojwlrKr|QW_k{gp
z3OFQRq=nE!G@l&R`UUe8Xi!`~GT50XTW9@IVv3cIdQ_*r`1dzO7nfs>(0DyaRGm&?
z>`onk=oH>9%?RYNU*rGDR4&`)6nYsjg(6Ou3@#g_==JP-k`7RmYQwxfjcky|Ktyh0t`3l+{+eLyxg)3pW_3j
zm!k~H>^naQhFO$}nUTCympL84JE-7t%Kw
zt_YEhykTW%h_yh8#r_fLy_P76z35`G>W9zXy00nTc9qL*0FCaer~9-@ZKOg7201H9#iJb5TfnmxGuy$YOTS=E~C#3V*s>B`a|F`zuYAk
z>adott5|lFIlvi0=rP$d0W%0eBY`%p%Qj<$!f=rTe$!>x9khe|
zcZc`25%Rq;hnBX^Vx{CpGbG#iAtW#AT6gb$^6_=y+cU#tB|oq8r?PudH=wo=gYvP!
zFn*q2hIt?^xkf9y&gM%Di#lN{uisE4tJ3X$h5fmzOgv67jyeU+%_gA3NofqbI{?`mNNvF2I;RU^;((_L4VlX}UfD!8#K`0bV3lN!iKb
zikQlErBJ{;O@dY#x~A5P^Vo>E;PGx1uA=%q^-dk(_wQ7(e>dw!kq~vaLqrv~cws|f
z_p-U~PlRq-cXVGH3XXOi2TsYhW-4gO_2z<=1f^!
zRl=+)|Ldaoxf%Z#3fcdc-kykhhr^t#8agfU@I(|x;7%qHhtH!m52SxdQFB~O=avM3
z9Eu545bZahpY|J9?L!+*V0aZfUe}Eox@ix4gBw~f=sc=6tw4DxdnJEagetxwDWRmW
zEJXQ~#Cv-~P;J=*S(~Ht+b|T98J@4^e>C)RDUt#PhzlYlc0s~BHLK^gYf8BjQy&=o~Nn`5XM$_JhA6{DQ3zUcu)X#8{
zOt>h*jOtf*ea3$;kM-0pR-5o9d-2yteKor6I_NVQ=A2XX^gy;gY+?x}489Qrrusha9
z1C$e?0{6c>I1AWwT!A}fvoN&oOyEr5sxaS}fWRB|CiQdhUtQ!+@^>QmH}lKIN~?T_
zFOYYxz|)`OM)HONNoGu&|G{u2dNbXML&lR;^$JJ*`yP{j2IyU4_6B9-GAC(q*?3()
zpo~+sWjuvoYtq&Dd6s1DQZ(WLr+k2tq`1c4D2Tl|MWBZDFVI`Y0HYjnU;Dp{h^EkC
zS}uJWz*HDw+WS`4CBqC!V?<`U`l`DEKR{z-%@5MWbL)z=e>=FEKzgOMlwXb!6{bN>
z-TG(prj-!F@5f`EqXeM?e$n210!vqlTM38uxv?TCDVF#6vkLypfxvmNiCy1d{rnYi
zf+Vsy<8>B~8;lb1^M>r;VgAu%5a^UfDPq6u!>T8H`E+EpCXxIy2@_x`d7N+471^BP
zneee*kD2^V06BZ!?)-{QyV@%K4YdmgQ{~5hwrWA4Q@rE5BNC{;)5wXe-DWwHQm_Yt
z6pS^T@W%N|7301K6v6bC)==_6Vou_n*mpZ%SwA2u#{GPE0on+vjW4K>;|2R}y%GUM
zpft>!PjgIz<9b>ShVj)k
z*jNs+_#t_dTS5XQ`)M=vD6f)dFgHceGUdP3;K83;rJk}Ast`*s+>x{}l*pNkRi3Q0-<^xecAi`LJq?;q|`!)4(cVoU2
zz{)5aMg3cW;tA=ZbIzx0(0N#UCOqNoIHNE5l5`%cZ3FtRr&t)<&p;ao`he-ZPmeH&
zq=GtJMslun{@cA`H+73Fn=P67yjo=WQUV}+0m?tDcjl71RbUlBEvWH4p7WRC8o&;m
zI5-IfDW26^%#R>3T3omK)34&1ljsL@4f?Ca>mt#IYu
znYSKCI8I=nZ(4=slQAiC5h1W9N~_9~aw6Br7QUyYch?UcgFx9enVpt1?=X;qTx1^D
zHv*`spe>1x=y&k^vqyS8TsjoN5bAfp7lXHnI}G4KBv@XrhHmq+i_ZNzlE(RP`N(?-
zhb}J+aW9JgA+Uh0BYWw;7OCys{E(CU&Q9|a6wRm>>Hh!CddP0E+hZ@CO
zdvvY8r#f6S9NHMnT|4eC)+6g%+|%9GDUBZt!`FgDMY7YpXqI0`SY{n|mX*DyjdaX`
z!eyQiaOM63k8dPf3+9hNcMGbXPDA7U?sw(j73oDSNQq60%~Rm?tCCrVL%Q0HA@8J#
zAzME7Qhy;`Kd_1Y?}qo`ddo&NPltR}PPp^IY=*~i7W8q^K`Z|{!+4_YXv#`Ob!PTV
za`3|>ocOP%b+5P8237Fom_~W8O3;k;y3L!KvPQER_~!hJ=E33bLp(n(WN!U)J>8+!
zS|$D7kbUDtaCpS^*1KDtMq;4?JGxz_ap$cgAG9*<>NBD=wScLa2_`4e^Vt%Q;5Q9T&I!S2sFrVAN@|C#x7yMWmE?Q5>`>+
z?#A^GhliIZ0e
+
+
+ res.partner.form.kbo_bce_number
+ res.partner
+
+
+
+
+
+
+
+
+
+
From 70f6417db8f1d4d0b3d201c14bcfbc3f8b60b8a2 Mon Sep 17 00:00:00 2001
From: sbejaoui
Date: Wed, 25 Mar 2020 10:43:13 +0100
Subject: [PATCH 02/27] [13.0][ADD] - Add Belgium - KBO/BCE numbers
---
l10n_be_partner_kbo_bce/README.rst | 68 ++++++++++++++++---
l10n_be_partner_kbo_bce/__manifest__.py | 7 +-
.../readme/CONTRIBUTORS.rst | 1 +
.../readme/DESCRIPTION.rst | 2 +
l10n_be_partner_kbo_bce/readme/INSTALL.rst | 1 +
5 files changed, 68 insertions(+), 11 deletions(-)
create mode 100644 l10n_be_partner_kbo_bce/readme/CONTRIBUTORS.rst
create mode 100644 l10n_be_partner_kbo_bce/readme/DESCRIPTION.rst
create mode 100644 l10n_be_partner_kbo_bce/readme/INSTALL.rst
diff --git a/l10n_be_partner_kbo_bce/README.rst b/l10n_be_partner_kbo_bce/README.rst
index 0c0f57aa3..6c1ad1305 100644
--- a/l10n_be_partner_kbo_bce/README.rst
+++ b/l10n_be_partner_kbo_bce/README.rst
@@ -1,22 +1,74 @@
-.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
- :target: https://www.gnu.org/licenses/agpl
- :alt: License: AGPL-3
+=========================
+Belgium - KBO/BCE numbers
+=========================
-=======================
-Belgium KBO/BCE Numbers
-=======================
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-This module adds support for KBO/BCE numbers on partner records including a consistency check with the VAT numbers.
+.. |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_partner_kbo_bce
+ :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_partner_kbo_bce
+ :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|
+
+This module adds support for KBO/BCE numbers on partner records including a
+consistency check with the VAT numbers.
+
+**Table of contents**
+
+.. contents::
+ :local:
Installation
============
There is no specific installation procedure for this module.
+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
=======
Contributors
-------------
+~~~~~~~~~~~~
* Luc De Meyer
+
+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.
+
+This module is part of the `OCA/l10n-belgium `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index 35746b1fd..f3ee522c2 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -1,4 +1,4 @@
-# Copyright 2009-2020 Noviat.
+# Copyright 2009-2019 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
@@ -6,8 +6,9 @@
"category": "Localization",
"version": "13.0.1.0.0",
"license": "AGPL-3",
- "author": "Noviat",
- "website": "https://www.noviat.com",
+ "author": "Noviat,"
+ "Odoo Community Association (OCA)",
+ "website": "https://github.com/OCA/l10n-belgium",
"depends": ["partner_identification", "base_vat_sanitized"],
"data": ["data/res_partner_id_category.xml", "views/res_partner.xml"],
"demo": ["demo/res_partner.xml"],
diff --git a/l10n_be_partner_kbo_bce/readme/CONTRIBUTORS.rst b/l10n_be_partner_kbo_bce/readme/CONTRIBUTORS.rst
new file mode 100644
index 000000000..044d1a001
--- /dev/null
+++ b/l10n_be_partner_kbo_bce/readme/CONTRIBUTORS.rst
@@ -0,0 +1 @@
+* Luc De Meyer
diff --git a/l10n_be_partner_kbo_bce/readme/DESCRIPTION.rst b/l10n_be_partner_kbo_bce/readme/DESCRIPTION.rst
new file mode 100644
index 000000000..c68e4bad1
--- /dev/null
+++ b/l10n_be_partner_kbo_bce/readme/DESCRIPTION.rst
@@ -0,0 +1,2 @@
+This module adds support for KBO/BCE numbers on partner records including a
+consistency check with the VAT numbers.
diff --git a/l10n_be_partner_kbo_bce/readme/INSTALL.rst b/l10n_be_partner_kbo_bce/readme/INSTALL.rst
new file mode 100644
index 000000000..9d94322d9
--- /dev/null
+++ b/l10n_be_partner_kbo_bce/readme/INSTALL.rst
@@ -0,0 +1 @@
+There is no specific installation procedure for this module.
From af20b5a51f7912c1a690f428d80e1499e1a87e59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Fri, 31 Jul 2020 15:31:27 +0200
Subject: [PATCH 03/27] pre-commit autoformatters
---
l10n_be_partner_kbo_bce/__manifest__.py | 3 +-
.../data/res_partner_id_category.xml | 16 ++++-----
l10n_be_partner_kbo_bce/demo/res_partner.xml | 33 ++++++++++---------
l10n_be_partner_kbo_bce/views/res_partner.xml | 28 ++++++++--------
4 files changed, 40 insertions(+), 40 deletions(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index f3ee522c2..ae7805b6c 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -6,8 +6,7 @@
"category": "Localization",
"version": "13.0.1.0.0",
"license": "AGPL-3",
- "author": "Noviat,"
- "Odoo Community Association (OCA)",
+ "author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
"depends": ["partner_identification", "base_vat_sanitized"],
"data": ["data/res_partner_id_category.xml", "views/res_partner.xml"],
diff --git a/l10n_be_partner_kbo_bce/data/res_partner_id_category.xml b/l10n_be_partner_kbo_bce/data/res_partner_id_category.xml
index f769a5ea1..38c574b79 100644
--- a/l10n_be_partner_kbo_bce/data/res_partner_id_category.xml
+++ b/l10n_be_partner_kbo_bce/data/res_partner_id_category.xml
@@ -1,10 +1,10 @@
-
+
-
-
- l10n_be_kbo_bce
- Belgium KBO/BCE Number
- failed = self.validate_l10n_be_partner_kbo_bce(id_number)
-
-
+
+ l10n_be_kbo_bce
+ Belgium KBO/BCE Number
+ failed = self.validate_l10n_be_partner_kbo_bce(id_number)
+
diff --git a/l10n_be_partner_kbo_bce/demo/res_partner.xml b/l10n_be_partner_kbo_bce/demo/res_partner.xml
index ee62a7839..59b88e0e9 100644
--- a/l10n_be_partner_kbo_bce/demo/res_partner.xml
+++ b/l10n_be_partner_kbo_bce/demo/res_partner.xml
@@ -1,18 +1,19 @@
-
+
-
-
-
- Noviat
-
- 1
- Brussel
- 1083
- Rusatiralaan 1
- info@noviat.com
- +32 2 808 86 38
- http://www.noviat.com
-
-
-
+
+
+ Noviat
+
+ 1
+ Brussel
+ 1083
+ Rusatiralaan 1
+ info@noviat.com
+ +32 2 808 86 38
+ http://www.noviat.com
+
+
diff --git a/l10n_be_partner_kbo_bce/views/res_partner.xml b/l10n_be_partner_kbo_bce/views/res_partner.xml
index 3ba6e9a73..dd4dca6a0 100644
--- a/l10n_be_partner_kbo_bce/views/res_partner.xml
+++ b/l10n_be_partner_kbo_bce/views/res_partner.xml
@@ -1,16 +1,16 @@
-
-
- res.partner.form.kbo_bce_number
- res.partner
-
-
-
-
-
-
-
-
-
+
+ res.partner.form.kbo_bce_number
+ res.partner
+
+
+
+
+
+
+
+
From 94cc0b3e29f077efe65735ed2f5fc83ec368c656 Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Fri, 31 Jul 2020 14:22:53 +0000
Subject: [PATCH 04/27] [UPD] Update l10n_be_partner_kbo_bce.pot
---
l10n_be_partner_kbo_bce/i18n/fr.po | 47 +++++++++++++-
.../i18n/l10n_be_partner_kbo_bce.pot | 61 +++++++++++++++++++
l10n_be_partner_kbo_bce/i18n/nl.po | 47 +++++++++++++-
3 files changed, 151 insertions(+), 4 deletions(-)
create mode 100644 l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
diff --git a/l10n_be_partner_kbo_bce/i18n/fr.po b/l10n_be_partner_kbo_bce/i18n/fr.po
index 1cd49a0ed..3714801ae 100644
--- a/l10n_be_partner_kbo_bce/i18n/fr.po
+++ b/l10n_be_partner_kbo_bce/i18n/fr.po
@@ -10,13 +10,56 @@ msgstr ""
"PO-Revision-Date: 2018-04-06 11:30:51.934000\n"
"Last-Translator: Luc De Meyer (Noviat nv/sa)\n"
"Language-Team: \n"
+"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: l10n_be_partner_kbo_bce
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_kbo_bce_number
+#: model:res.partner.id_category,name:l10n_be_partner_kbo_bce.l10n_be_kbo_bce_number_category
+#, fuzzy
+msgid "Belgium KBO/BCE Number"
+msgstr "Numéro BCE"
+
+#. module: l10n_be_partner_kbo_bce
+#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
+#, python-format
+msgid "Configuration Error, Country BE has not been defined !"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner
+msgid "Contact"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__country_code
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__country_code
+msgid "Country Code"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__kbo_bce_number
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__kbo_bce_number
msgid "KBO/BCE Number"
msgstr "Numéro BCE"
+
+#. module: l10n_be_partner_kbo_bce
+#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
+#, python-format
+msgid "KBO/BCE Number '%s' is not consistent with VAT Number '%s'."
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner_id_category
+msgid "Partner ID Category"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,help:l10n_be_partner_kbo_bce.field_res_partner__country_code
+#: model:ir.model.fields,help:l10n_be_partner_kbo_bce.field_res_users__country_code
+msgid ""
+"The ISO country code in two chars. \n"
+"You can use this field for quick search."
+msgstr ""
diff --git a/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot b/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
new file mode 100644
index 000000000..0dd7627a2
--- /dev/null
+++ b/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
@@ -0,0 +1,61 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * l10n_be_partner_kbo_bce
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 13.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_partner_kbo_bce
+#: model:res.partner.id_category,name:l10n_be_partner_kbo_bce.l10n_be_kbo_bce_number_category
+msgid "Belgium KBO/BCE Number"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
+#, python-format
+msgid "Configuration Error, Country BE has not been defined !"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner
+msgid "Contact"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__country_code
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__country_code
+msgid "Country Code"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__kbo_bce_number
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__kbo_bce_number
+msgid "KBO/BCE Number"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
+#, python-format
+msgid "KBO/BCE Number '%s' is not consistent with VAT Number '%s'."
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner_id_category
+msgid "Partner ID Category"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,help:l10n_be_partner_kbo_bce.field_res_partner__country_code
+#: model:ir.model.fields,help:l10n_be_partner_kbo_bce.field_res_users__country_code
+msgid ""
+"The ISO country code in two chars. \n"
+"You can use this field for quick search."
+msgstr ""
diff --git a/l10n_be_partner_kbo_bce/i18n/nl.po b/l10n_be_partner_kbo_bce/i18n/nl.po
index 2f5d03d8f..b26f3449e 100644
--- a/l10n_be_partner_kbo_bce/i18n/nl.po
+++ b/l10n_be_partner_kbo_bce/i18n/nl.po
@@ -10,13 +10,56 @@ msgstr ""
"PO-Revision-Date: 2018-04-06 11:30:51.934000\n"
"Last-Translator: Luc De Meyer (Noviat nv/sa)\n"
"Language-Team: \n"
+"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: l10n_be_partner_kbo_bce
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_kbo_bce_number
+#: model:res.partner.id_category,name:l10n_be_partner_kbo_bce.l10n_be_kbo_bce_number_category
+#, fuzzy
+msgid "Belgium KBO/BCE Number"
+msgstr "KBO Nummer"
+
+#. module: l10n_be_partner_kbo_bce
+#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
+#, python-format
+msgid "Configuration Error, Country BE has not been defined !"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner
+msgid "Contact"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__country_code
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__country_code
+msgid "Country Code"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__kbo_bce_number
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__kbo_bce_number
msgid "KBO/BCE Number"
msgstr "KBO Nummer"
+
+#. module: l10n_be_partner_kbo_bce
+#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
+#, python-format
+msgid "KBO/BCE Number '%s' is not consistent with VAT Number '%s'."
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner_id_category
+msgid "Partner ID Category"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,help:l10n_be_partner_kbo_bce.field_res_partner__country_code
+#: model:ir.model.fields,help:l10n_be_partner_kbo_bce.field_res_users__country_code
+msgid ""
+"The ISO country code in two chars. \n"
+"You can use this field for quick search."
+msgstr ""
From f5a7cda2c96c6170ae78ee1f47251442d48a69d3 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Fri, 31 Jul 2020 15:11:56 +0000
Subject: [PATCH 05/27] [UPD] README.rst
---
l10n_be_partner_kbo_bce/README.rst | 15 +-
.../static/description/index.html | 425 ++++++++++++++++++
2 files changed, 435 insertions(+), 5 deletions(-)
create mode 100644 l10n_be_partner_kbo_bce/static/description/index.html
diff --git a/l10n_be_partner_kbo_bce/README.rst b/l10n_be_partner_kbo_bce/README.rst
index 6c1ad1305..0c84ec21e 100644
--- a/l10n_be_partner_kbo_bce/README.rst
+++ b/l10n_be_partner_kbo_bce/README.rst
@@ -14,13 +14,13 @@ Belgium - KBO/BCE numbers
: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_partner_kbo_bce
+ :target: https://github.com/OCA/l10n-belgium/tree/13.0/l10n_be_partner_kbo_bce
: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_partner_kbo_bce
+ :target: https://translation.odoo-community.org/projects/l10n-belgium-13-0/l10n-belgium-13-0-l10n_be_partner_kbo_bce
: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
+ :target: https://runbot.odoo-community.org/runbot/119/13.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -44,13 +44,18 @@ 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
Credits
=======
+Authors
+~~~~~~~
+
+* Noviat
+
Contributors
~~~~~~~~~~~~
@@ -69,6 +74,6 @@ 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.
-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. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/l10n_be_partner_kbo_bce/static/description/index.html b/l10n_be_partner_kbo_bce/static/description/index.html
new file mode 100644
index 000000000..9e1af9a35
--- /dev/null
+++ b/l10n_be_partner_kbo_bce/static/description/index.html
@@ -0,0 +1,425 @@
+
+
+
+
+
+
+Belgium - KBO/BCE numbers
+
+
+
+
+
Belgium - KBO/BCE numbers
+
+
+
+
This module adds support for KBO/BCE numbers on partner records including a
+consistency check with the VAT numbers.
+
Table of contents
+
+
+
+
There is no specific installation procedure for this module.
+
+
+
+
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.
+
+
+
+
+
+
+
+
This module is maintained by the OCA.
+
+
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.
+
This module is part of the OCA/l10n-belgium project on GitHub.
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
+
+
+
+
+
From eaaaac185b9ced4026b4ad1c056bfd21a1bad523 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Fri, 31 Jul 2020 15:11:57 +0000
Subject: [PATCH 06/27] l10n_be_partner_kbo_bce 13.0.1.0.1
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index ae7805b6c..fe3297336 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
- "version": "13.0.1.0.0",
+ "version": "13.0.1.0.1",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
From 8d251ec22656c59e62a97bd123b78015136a3524 Mon Sep 17 00:00:00 2001
From: Luc De Meyer
Date: Fri, 16 Oct 2020 18:48:12 +0200
Subject: [PATCH 07/27] [13.0][IMP]remove unnecessary depends from
l10n_be_partner_kbo_bce
---
l10n_be_partner_kbo_bce/__manifest__.py | 4 ++--
l10n_be_partner_kbo_bce/models/res_partner.py | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index fe3297336..5633eaa10 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -1,4 +1,4 @@
-# Copyright 2009-2019 Noviat.
+# Copyright 2009-2020 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
@@ -8,7 +8,7 @@
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
- "depends": ["partner_identification", "base_vat_sanitized"],
+ "depends": ["partner_identification"],
"data": ["data/res_partner_id_category.xml", "views/res_partner.xml"],
"demo": ["demo/res_partner.xml"],
"installable": True,
diff --git a/l10n_be_partner_kbo_bce/models/res_partner.py b/l10n_be_partner_kbo_bce/models/res_partner.py
index bdb8ef492..61c2dcebe 100644
--- a/l10n_be_partner_kbo_bce/models/res_partner.py
+++ b/l10n_be_partner_kbo_bce/models/res_partner.py
@@ -95,9 +95,11 @@ def _get_belgium(self):
def _sync_kbo_bce_number(self, sync_vals):
be = self._get_belgium()
- vat = sync_vals.get("vat") and self._sanitize_vat(sync_vals["vat"])
- kbn = sync_vals.get("kbo_bce_number") and sync_vals["kbo_bce_number"]
country_id = sync_vals.get("country_id") and sync_vals["country_id"]
+ vat = sync_vals.get("vat") and self._fix_vat_number(
+ sync_vals["vat"], country_id
+ )
+ kbn = sync_vals.get("kbo_bce_number") and sync_vals["kbo_bce_number"]
has_kbo_bce_number = False
if vat and vat[0:2] == "BE" and not kbn:
@@ -124,7 +126,7 @@ def _sync_kbo_bce_number(self, sync_vals):
kbn = sync_vals.get("kbo_bce_number")
vat = sync_vals.get("vat")
if kbn and vat:
- if kbn.replace(".", "") != self._sanitize_vat(vat)[2:]:
+ if kbn.replace(".", "") != self._fix_vat_number(vat, country_id)[2:]:
raise ValidationError(
_("KBO/BCE Number '%s' is not consistent with " "VAT Number '%s'.")
% (kbn, vat)
From a6f33f2e5a2565a6ce47ad8b68fa00878dce1903 Mon Sep 17 00:00:00 2001
From: Luc De Meyer
Date: Sun, 18 Oct 2020 20:10:07 +0200
Subject: [PATCH 08/27] add base_vat to depends
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index 5633eaa10..cc4a55547 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -8,7 +8,7 @@
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
- "depends": ["partner_identification"],
+ "depends": ["partner_identification", "base_vat"],
"data": ["data/res_partner_id_category.xml", "views/res_partner.xml"],
"demo": ["demo/res_partner.xml"],
"installable": True,
From 2b24f1f7c6af84ebc3fed40592aead208bfaa63f Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Mon, 11 Jan 2021 08:30:15 +0000
Subject: [PATCH 09/27] l10n_be_partner_kbo_bce 13.0.1.0.2
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index cc4a55547..7bd97f117 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
- "version": "13.0.1.0.1",
+ "version": "13.0.1.0.2",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
From 0f1911236b869dbf1bc16cdbd736ab19e6ae7493 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Tue, 6 Apr 2021 17:35:06 +0200
Subject: [PATCH 10/27] Apply dotfiles
---
l10n_be_partner_kbo_bce/models/res_partner.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/models/res_partner.py b/l10n_be_partner_kbo_bce/models/res_partner.py
index 61c2dcebe..d10e612b9 100644
--- a/l10n_be_partner_kbo_bce/models/res_partner.py
+++ b/l10n_be_partner_kbo_bce/models/res_partner.py
@@ -147,4 +147,3 @@ def _update_kbo_bce_sync_vals(self, sync_vals):
in case of 'create': empty self, sync_vals contains all vals
in case of 'write': self contains partner record
"""
- pass
From 69d7ddd3f1ebe8c5cea5c2f5c7680272881ac9a1 Mon Sep 17 00:00:00 2001
From: Stefan Rijnhart
Date: Wed, 28 Apr 2021 09:23:43 +0200
Subject: [PATCH 11/27] [MIG] l10n_be_partner_kbo_bce: Migration to 14.0
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index 7bd97f117..cbbbd0810 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
- "version": "13.0.1.0.2",
+ "version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
From dc5db476745868c77dfc92774c25569586d451ce Mon Sep 17 00:00:00 2001
From: oca-ci
Date: Thu, 13 Jan 2022 19:24:13 +0000
Subject: [PATCH 12/27] [UPD] Update l10n_be_partner_kbo_bce.pot
---
.../i18n/l10n_be_partner_kbo_bce.pot | 20 ++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot b/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
index 0dd7627a2..f843a4319 100644
--- a/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
+++ b/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 13.0\n"
+"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -35,6 +35,18 @@ msgstr ""
msgid "Country Code"
msgstr ""
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__display_name
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_id_category__display_name
+msgid "Display Name"
+msgstr ""
+
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__id
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_id_category__id
+msgid "ID"
+msgstr ""
+
#. module: l10n_be_partner_kbo_bce
#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__kbo_bce_number
#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__kbo_bce_number
@@ -47,6 +59,12 @@ msgstr ""
msgid "KBO/BCE Number '%s' is not consistent with VAT Number '%s'."
msgstr ""
+#. module: l10n_be_partner_kbo_bce
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner____last_update
+#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_id_category____last_update
+msgid "Last Modified on"
+msgstr ""
+
#. module: l10n_be_partner_kbo_bce
#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner_id_category
msgid "Partner ID Category"
From 2250351f5d01fb3bc47c6101f24b40d918f49522 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Thu, 13 Jan 2022 19:26:44 +0000
Subject: [PATCH 13/27] [UPD] README.rst
---
l10n_be_partner_kbo_bce/README.rst | 10 +++++-----
l10n_be_partner_kbo_bce/static/description/index.html | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/l10n_be_partner_kbo_bce/README.rst b/l10n_be_partner_kbo_bce/README.rst
index 0c84ec21e..586e811a4 100644
--- a/l10n_be_partner_kbo_bce/README.rst
+++ b/l10n_be_partner_kbo_bce/README.rst
@@ -14,13 +14,13 @@ Belgium - KBO/BCE numbers
: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/13.0/l10n_be_partner_kbo_bce
+ :target: https://github.com/OCA/l10n-belgium/tree/14.0/l10n_be_partner_kbo_bce
: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-13-0/l10n-belgium-13-0-l10n_be_partner_kbo_bce
+ :target: https://translation.odoo-community.org/projects/l10n-belgium-14-0/l10n-belgium-14-0-l10n_be_partner_kbo_bce
: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/13.0
+ :target: https://runbot.odoo-community.org/runbot/119/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -44,7 +44,7 @@ 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -74,6 +74,6 @@ 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.
-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. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/l10n_be_partner_kbo_bce/static/description/index.html b/l10n_be_partner_kbo_bce/static/description/index.html
index 9e1af9a35..cec298f70 100644
--- a/l10n_be_partner_kbo_bce/static/description/index.html
+++ b/l10n_be_partner_kbo_bce/static/description/index.html
@@ -367,7 +367,7 @@ Belgium - KBO/BCE numbers
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module adds support for KBO/BCE numbers on partner records including a
consistency check with the VAT numbers.
Table of contents
@@ -392,7 +392,7 @@
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.
@@ -416,7 +416,7 @@
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.
-
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. To learn how please visit https://odoo-community.org/page/Contribute.
From 36ecc603fd5ef27814b66207f0120d35f64a4794 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Thu, 13 Jan 2022 19:26:44 +0000
Subject: [PATCH 14/27] l10n_be_partner_kbo_bce 14.0.1.0.1
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index cbbbd0810..232f7f054 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
- "version": "14.0.1.0.0",
+ "version": "14.0.1.0.1",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
From 09947c325336aaa59a59b88c0196ad55b849bb56 Mon Sep 17 00:00:00 2001
From: Victor Champonnois
Date: Mon, 28 Nov 2022 14:53:41 +0100
Subject: [PATCH 15/27] [MIG] l10n_be_partner_kbo_bce: Migration to 15.0
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index 232f7f054..383651320 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
- "version": "14.0.1.0.1",
+ "version": "15.0.1.0.1",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
From f0532e41c520960e0d3bd7f3f1fcb066e314a5ee Mon Sep 17 00:00:00 2001
From: Victor Champonnois
Date: Mon, 28 Nov 2022 14:56:09 +0100
Subject: [PATCH 16/27] [MIG] l10n_be_partner_kbo_bce: Migration to 16.0
---
l10n_be_partner_kbo_bce/__manifest__.py | 2 +-
l10n_be_partner_kbo_bce/demo/res_partner.xml | 10 ++++------
l10n_be_partner_kbo_bce/models/res_partner.py | 8 ++++++--
.../tests/test_l10n_be_partner_kbo_bce.py | 2 +-
4 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/l10n_be_partner_kbo_bce/__manifest__.py b/l10n_be_partner_kbo_bce/__manifest__.py
index 383651320..8dbb86184 100644
--- a/l10n_be_partner_kbo_bce/__manifest__.py
+++ b/l10n_be_partner_kbo_bce/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
- "version": "15.0.1.0.1",
+ "version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
diff --git a/l10n_be_partner_kbo_bce/demo/res_partner.xml b/l10n_be_partner_kbo_bce/demo/res_partner.xml
index 59b88e0e9..88095bc9c 100644
--- a/l10n_be_partner_kbo_bce/demo/res_partner.xml
+++ b/l10n_be_partner_kbo_bce/demo/res_partner.xml
@@ -1,12 +1,11 @@
-
-
+
Noviat
+ name="category_id"
+ eval="[(6, 0, [ref('base.res_partner_category_8')])]"
+ />
1
Brussel
1083
@@ -15,5 +14,4 @@
+32 2 808 86 38
http://www.noviat.com
-
diff --git a/l10n_be_partner_kbo_bce/models/res_partner.py b/l10n_be_partner_kbo_bce/models/res_partner.py
index d10e612b9..a85903f68 100644
--- a/l10n_be_partner_kbo_bce/models/res_partner.py
+++ b/l10n_be_partner_kbo_bce/models/res_partner.py
@@ -128,8 +128,12 @@ def _sync_kbo_bce_number(self, sync_vals):
if kbn and vat:
if kbn.replace(".", "") != self._fix_vat_number(vat, country_id)[2:]:
raise ValidationError(
- _("KBO/BCE Number '%s' is not consistent with " "VAT Number '%s'.")
- % (kbn, vat)
+ _(
+ "KBO/BCE Number '%(kbn)s' is not consistent with "
+ "VAT Number '%(vat)s'.",
+ kbn=kbn,
+ vat=vat,
+ )
)
# minimise overhead caused by sync of _commercial_fields
diff --git a/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py b/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py
index 24c0a0203..4e0df00db 100644
--- a/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py
+++ b/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py
@@ -32,7 +32,7 @@ def test_format_kbo_bce_number(self):
rp = self.rp_1
rp.vat = "BE 0820 512 013"
rp.kbo_bce_number = "0820512013"
- rp.invalidate_cache(["kbo_bce_number"])
+ rp.invalidate_recordset(["kbo_bce_number"])
self.assertEqual(rp.kbo_bce_number, "0820.512.013")
def test_create_be_partner(self):
From e08564454c0d737bafa43d467f192a7127628378 Mon Sep 17 00:00:00 2001
From: Victor Champonnois
Date: Thu, 13 Jul 2023 14:34:29 +0200
Subject: [PATCH 17/27] fixup
---
l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py b/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py
index 4e0df00db..00bb7f82a 100644
--- a/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py
+++ b/l10n_be_partner_kbo_bce/tests/test_l10n_be_partner_kbo_bce.py
@@ -7,7 +7,7 @@
class TestKboBceNumber(TransactionCase):
def setUp(self):
- super(TestKboBceNumber, self).setUp()
+ super().setUp()
self.rp_1 = self.env.ref("l10n_be_partner_kbo_bce.res_partner_1")
self.be = self.env.ref("base.be")
From 5f75e86629549a75ac392a7c8240691d1404b344 Mon Sep 17 00:00:00 2001
From: oca-ci
Date: Wed, 19 Jul 2023 15:06:33 +0000
Subject: [PATCH 18/27] [UPD] Update l10n_be_partner_kbo_bce.pot
---
.../i18n/l10n_be_partner_kbo_bce.pot | 24 ++++---------------
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot b/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
index f843a4319..cd8dbd294 100644
--- a/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
+++ b/l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 14.0\n"
+"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -19,6 +19,7 @@ msgid "Belgium KBO/BCE Number"
msgstr ""
#. module: l10n_be_partner_kbo_bce
+#. odoo-python
#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
#, python-format
msgid "Configuration Error, Country BE has not been defined !"
@@ -35,18 +36,6 @@ msgstr ""
msgid "Country Code"
msgstr ""
-#. module: l10n_be_partner_kbo_bce
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__display_name
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_id_category__display_name
-msgid "Display Name"
-msgstr ""
-
-#. module: l10n_be_partner_kbo_bce
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__id
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_id_category__id
-msgid "ID"
-msgstr ""
-
#. module: l10n_be_partner_kbo_bce
#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner__kbo_bce_number
#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_users__kbo_bce_number
@@ -54,15 +43,10 @@ msgid "KBO/BCE Number"
msgstr ""
#. module: l10n_be_partner_kbo_bce
+#. odoo-python
#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
#, python-format
-msgid "KBO/BCE Number '%s' is not consistent with VAT Number '%s'."
-msgstr ""
-
-#. module: l10n_be_partner_kbo_bce
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner____last_update
-#: model:ir.model.fields,field_description:l10n_be_partner_kbo_bce.field_res_partner_id_category____last_update
-msgid "Last Modified on"
+msgid "KBO/BCE Number '%(kbn)s' is not consistent with VAT Number '%(vat)s'."
msgstr ""
#. module: l10n_be_partner_kbo_bce
From aeb90271937d841ddd6d14f4c07f0cb06537920f Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Wed, 19 Jul 2023 15:09:42 +0000
Subject: [PATCH 19/27] [UPD] README.rst
---
l10n_be_partner_kbo_bce/README.rst | 10 +++++-----
l10n_be_partner_kbo_bce/static/description/index.html | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/l10n_be_partner_kbo_bce/README.rst b/l10n_be_partner_kbo_bce/README.rst
index 586e811a4..3b5544a41 100644
--- a/l10n_be_partner_kbo_bce/README.rst
+++ b/l10n_be_partner_kbo_bce/README.rst
@@ -14,13 +14,13 @@ Belgium - KBO/BCE numbers
: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_partner_kbo_bce
+ :target: https://github.com/OCA/l10n-belgium/tree/16.0/l10n_be_partner_kbo_bce
: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_partner_kbo_bce
+ :target: https://translation.odoo-community.org/projects/l10n-belgium-16-0/l10n-belgium-16-0-l10n_be_partner_kbo_bce
: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
+ :target: https://runbot.odoo-community.org/runbot/119/16.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -44,7 +44,7 @@ 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -74,6 +74,6 @@ 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.
-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. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/l10n_be_partner_kbo_bce/static/description/index.html b/l10n_be_partner_kbo_bce/static/description/index.html
index cec298f70..4a0b8f0df 100644
--- a/l10n_be_partner_kbo_bce/static/description/index.html
+++ b/l10n_be_partner_kbo_bce/static/description/index.html
@@ -367,7 +367,7 @@ Belgium - KBO/BCE numbers
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module adds support for KBO/BCE numbers on partner records including a
consistency check with the VAT numbers.
Table of contents
@@ -392,7 +392,7 @@
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.