Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] l10n_be_partner_kbo_bce: Migration to 17.0 #219

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7953c8f
13.0 port
luc-demeyer Mar 23, 2020
70f6417
[13.0][ADD] - Add Belgium - KBO/BCE numbers
sbejaoui Mar 25, 2020
af20b5a
pre-commit autoformatters
sbidoul Jul 31, 2020
94cc0b3
[UPD] Update l10n_be_partner_kbo_bce.pot
oca-travis Jul 31, 2020
f5a7cda
[UPD] README.rst
OCA-git-bot Jul 31, 2020
eaaaac1
l10n_be_partner_kbo_bce 13.0.1.0.1
OCA-git-bot Jul 31, 2020
8d251ec
[13.0][IMP]remove unnecessary depends from l10n_be_partner_kbo_bce
luc-demeyer Oct 16, 2020
a6f33f2
add base_vat to depends
luc-demeyer Oct 18, 2020
2b24f1f
l10n_be_partner_kbo_bce 13.0.1.0.2
OCA-git-bot Jan 11, 2021
0f19112
Apply dotfiles
sbidoul Apr 6, 2021
69d7ddd
[MIG] l10n_be_partner_kbo_bce: Migration to 14.0
StefanRijnhart Apr 28, 2021
dc5db47
[UPD] Update l10n_be_partner_kbo_bce.pot
Jan 13, 2022
2250351
[UPD] README.rst
OCA-git-bot Jan 13, 2022
36ecc60
l10n_be_partner_kbo_bce 14.0.1.0.1
OCA-git-bot Jan 13, 2022
09947c3
[MIG] l10n_be_partner_kbo_bce: Migration to 15.0
victor-champonnois Nov 28, 2022
f0532e4
[MIG] l10n_be_partner_kbo_bce: Migration to 16.0
victor-champonnois Nov 28, 2022
e085644
fixup
victor-champonnois Jul 13, 2023
5f75e86
[UPD] Update l10n_be_partner_kbo_bce.pot
Jul 19, 2023
aeb9027
[UPD] README.rst
OCA-git-bot Jul 19, 2023
e3c64fa
l10n_be_partner_kbo_bce 16.0.1.0.1
OCA-git-bot Jul 19, 2023
4a922c2
Update translation files
weblate Jul 19, 2023
77244d2
Added translation using Weblate (Spanish)
Ivorra78 Aug 6, 2023
f33f2b7
Translated using Weblate (Spanish)
Ivorra78 Aug 6, 2023
eaebee6
[UPD] README.rst
OCA-git-bot Sep 3, 2023
074e93b
[IMP] l10n_be_partner_kbo_bce: pre-commit execution
jdidderen-noviat Mar 17, 2024
366a663
[MIG] l10n_be_partner_kbo_bce: Migration to 17.0
jdidderen-noviat Mar 17, 2024
736acc9
[FIX] companywweb_payment_info - use valid french vat for unit tests
jdidderen-noviat Mar 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion companyweb_payment_info/tests/test_cweb_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_upload_payment(self):
self.demo_user
)._cweb_payment_info_step1()

self.env.user.company_id.vat = "FR0835207216"
self.env.user.company_id.vat = "FR23334175221"

# UserError bad on users's company
with self.assertRaises(UserError):
Expand Down
82 changes: 82 additions & 0 deletions l10n_be_partner_kbo_bce/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
=========================
Belgium - KBO/BCE numbers
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c44269b9a5e508ed0bd48298598c63eb405784d43a2a614a31f95e2156ed1a23
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/l10n-belgium-17-0-l10n_be_partner_kbo_bce
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-belgium&target_branch=17.0
:alt: Try me on Runboat

|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 <https://github.com/OCA/l10n-belgium/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 <https://github.com/OCA/l10n-belgium/issues/new?body=module:%20l10n_be_partner_kbo_bce%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Noviat

Contributors
------------

- Luc De Meyer <[email protected]>

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 <https://github.com/OCA/l10n-belgium/tree/17.0/l10n_be_partner_kbo_bce>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_be_partner_kbo_bce/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
15 changes: 15 additions & 0 deletions l10n_be_partner_kbo_bce/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2009-2020 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Belgium - KBO/BCE numbers",
"category": "Localization",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"author": "Noviat,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-belgium",
"depends": ["partner_identification", "base_vat"],
"data": ["data/res_partner_id_category.xml", "views/res_partner.xml"],
"demo": ["demo/res_partner.xml"],
"installable": True,
}
10 changes: 10 additions & 0 deletions l10n_be_partner_kbo_bce/data/res_partner_id_category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="l10n_be_kbo_bce_number_category" model="res.partner.id_category">
<field name="code">l10n_be_kbo_bce</field>
<field name="name">Belgium KBO/BCE Number</field>
<field
name="validation_code"
>failed = self.validate_l10n_be_partner_kbo_bce(id_number)</field>
</record>
</odoo>
17 changes: 17 additions & 0 deletions l10n_be_partner_kbo_bce/demo/res_partner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="0">
<record id="res_partner_1" model="res.partner">
<field name="name">Noviat</field>
<field
name="category_id"
eval="[(6, 0, [ref('base.res_partner_category_8')])]"
/>
<field name="is_company">1</field>
<field name="city">Brussel</field>
<field name="zip">1083</field>
<field name="street">Rusatiralaan 1</field>
<field name="email">[email protected]</field>
<field name="phone">+32 2 808 86 38</field>
<field name="website">http://www.noviat.com</field>
</record>
</odoo>
69 changes: 69 additions & 0 deletions l10n_be_partner_kbo_bce/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# 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 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-08-06 13:11+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\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 "Bélgica Número KBO/BCE"

#. 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 !"
msgstr "Error de configuración, ¡no se ha definido el país BE!"

#. module: l10n_be_partner_kbo_bce
#: model:ir.model,name:l10n_be_partner_kbo_bce.model_res_partner
msgid "Contact"
msgstr "Contacto"

#. 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 "Código del país"

#. 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 "Número KBO/BCE"

#. 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 '%(kbn)s' is not consistent with VAT Number '%(vat)s'."
msgstr ""
"El número KBO/BCE \"%(kbn)s\" no coincide con el número de IVA \"%(vat)s\"."

#. 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 "Categoría ID de socio"

#. 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 ""
"El código ISO del país en dos caracteres. \n"
"Puede utilizar este campo para una búsqueda rápida."
67 changes: 67 additions & 0 deletions l10n_be_partner_kbo_bce/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# French 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 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-04-06 11:30:51.934000\n"
"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"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: l10n_be_partner_kbo_bce
#: 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
#. 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 !"
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
#. odoo-python
#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
#, python-format
msgid "KBO/BCE Number '%(kbn)s' is not consistent with VAT Number '%(vat)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 ""
63 changes: 63 additions & 0 deletions l10n_be_partner_kbo_bce/i18n/l10n_be_partner_kbo_bce.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# 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 16.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
#. 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 !"
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
#. odoo-python
#: code:addons/l10n_be_partner_kbo_bce/models/res_partner.py:0
#, python-format
msgid "KBO/BCE Number '%(kbn)s' is not consistent with VAT Number '%(vat)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 ""
Loading
Loading