From dae21b84bac2808d98cf48146139fec7c3fcabf7 Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Wed, 8 Feb 2023 11:17:19 +0100 Subject: [PATCH 01/16] [ADD] l10n_be_cooperator_national_number Signed-off-by: Carmen Bianca BAKKER --- l10n_be_cooperator_national_number/README.rst | 57 ++ .../__init__.py | 2 + .../__manifest__.py | 20 + .../controllers/__init__.py | 1 + .../controllers/main.py | 19 + .../l10n_be_cooperator_national_number.pot | 880 ++++++++++++++++++ .../models/__init__.py | 2 + .../models/company.py | 12 + .../models/subscription_request.py | 73 ++ .../readme/CONTRIBUTORS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + .../static/description/index.html | 414 ++++++++ .../tests/__init__.py | 2 + .../tests/test_cooperator_national_number.py | 41 + .../views/res_company_view.xml | 13 + .../views/subscription_request_view.xml | 18 + 16 files changed, 1556 insertions(+) create mode 100644 l10n_be_cooperator_national_number/README.rst create mode 100644 l10n_be_cooperator_national_number/__init__.py create mode 100644 l10n_be_cooperator_national_number/__manifest__.py create mode 100644 l10n_be_cooperator_national_number/controllers/__init__.py create mode 100644 l10n_be_cooperator_national_number/controllers/main.py create mode 100644 l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot create mode 100644 l10n_be_cooperator_national_number/models/__init__.py create mode 100644 l10n_be_cooperator_national_number/models/company.py create mode 100644 l10n_be_cooperator_national_number/models/subscription_request.py create mode 100644 l10n_be_cooperator_national_number/readme/CONTRIBUTORS.rst create mode 100644 l10n_be_cooperator_national_number/readme/DESCRIPTION.rst create mode 100644 l10n_be_cooperator_national_number/static/description/index.html create mode 100644 l10n_be_cooperator_national_number/tests/__init__.py create mode 100644 l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py create mode 100644 l10n_be_cooperator_national_number/views/res_company_view.xml create mode 100644 l10n_be_cooperator_national_number/views/subscription_request_view.xml diff --git a/l10n_be_cooperator_national_number/README.rst b/l10n_be_cooperator_national_number/README.rst new file mode 100644 index 000000000..e7377a2ab --- /dev/null +++ b/l10n_be_cooperator_national_number/README.rst @@ -0,0 +1,57 @@ +=================================== +Belgium: Cooperator 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_cooperator_national_number + :alt: oca/l10n-belgium + +|badge1| |badge2| |badge3| + +Ask for Belgian National Number in Subscription Request. + +**Table of contents** + +.. contents:: + :local: + +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 + +Maintainers +~~~~~~~~~~~ + +This module is part of the `oca/l10n-belgium `_ project on GitHub. + +You are welcome to contribute. diff --git a/l10n_be_cooperator_national_number/__init__.py b/l10n_be_cooperator_national_number/__init__.py new file mode 100644 index 000000000..f7209b171 --- /dev/null +++ b/l10n_be_cooperator_national_number/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import controllers diff --git a/l10n_be_cooperator_national_number/__manifest__.py b/l10n_be_cooperator_national_number/__manifest__.py new file mode 100644 index 000000000..2715828da --- /dev/null +++ b/l10n_be_cooperator_national_number/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2018 Coop IT Easy SC () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).# +{ + "name": "Belgium: Cooperator National Number", + "summary": "Ask for Belgian National Number in Cooperative Subscription Request.", + "version": "12.0.1.0.0", + "depends": [ + "cooperator", + "l10n_be_national_number", + ], + "author": "Coop IT Easy SC, Odoo Community Association (OCA)", + "category": "Cooperative management", + "website": "https://github.com/OCA/cooperative", + "license": "AGPL-3", + "data": [ + "views/subscription_request_view.xml", + "views/res_company_view.xml", + ], + "demo": [], +} diff --git a/l10n_be_cooperator_national_number/controllers/__init__.py b/l10n_be_cooperator_national_number/controllers/__init__.py new file mode 100644 index 000000000..12a7e529b --- /dev/null +++ b/l10n_be_cooperator_national_number/controllers/__init__.py @@ -0,0 +1 @@ +from . import main diff --git a/l10n_be_cooperator_national_number/controllers/main.py b/l10n_be_cooperator_national_number/controllers/main.py new file mode 100644 index 000000000..394f8ccf6 --- /dev/null +++ b/l10n_be_cooperator_national_number/controllers/main.py @@ -0,0 +1,19 @@ +from odoo import http +from odoo.http import request + + +class WebsiteSubscription(http.Controller): + + def get_values_from_user(self, values, is_company): + values = super().get_values_from_user(self, values, is_company) + if request.env.user.login != "public": + partner = request.env.user.partner_id + company = self.env["res.company"]._company_default_get() + if not is_company and company.require_national_number: + national_number_id_category = self.env.ref( + "l10n_be_national_number.l10n_be_national_number_category" + ).id + national_number = partner.id_numbers.search( + [('category_id', '=', national_number_id_category)]) + values["national_number"] = national_number + return values diff --git a/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot b/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot new file mode 100644 index 000000000..8e8141448 --- /dev/null +++ b/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot @@ -0,0 +1,880 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_be_cooperator +# +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_cooperator +#: model:mail.template,body_html:l10n_be_cooperator.email_template_tax_shelter_certificate +msgid "\n" +"
\n" +"

Hello ${object.partner_id.name},

\n" +"\n" +"

You have subscribed to some shares of ${object.company_id.name} on ${object.declaration_id.fiscal_year}.\n" +" You can benefit from the tax shelter, it means a tax reduction of ${object.declaration_id.tax_shelter_percentage} percent on the invested amount.\n" +" For this you will find in attachments the documents certifying that you've suscribed to ${object.company_id.name} shares

\n" +"

A dedicated FAQ is coming soon on ${object.company_id.website}.

\n" +"

For any additional questions, please contact ${object.company_id.coop_email_contact}

\n" +"

Sustainably yours,

\n" +"

${object.company_id.name}.

\n" +"\n" +" % if object.company_id.street:\n" +" ${object.company_id.street}\n" +" % endif\n" +" % if object.company_id.street2:\n" +" ${object.company_id.street2}
\n" +" % endif\n" +" % if object.company_id.city or object.company_id.zip:\n" +" ${object.company_id.zip} ${object.company_id.city}
\n" +" % endif\n" +" % if object.company_id.country_id:\n" +" ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}
\n" +" % endif\n" +" % if object.company_id.phone:\n" +" Phone:  ${object.company_id.phone}\n" +" % endif\n" +"\n" +" % if object.company_id.website:\n" +"
\n" +" Web : ${object.company_id.website}\n" +"
\n" +" %endif\n" +"\n" +"
\n" +" \n" +"
\n" +"
\n" +" " +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "(et avant" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid ",\n" +" vous êtes devenu coopérateur de" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid ",\n" +" vous êtes toujours en possession de parts de" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid ", connu aussi\n" +" comme normative Tax Shelter, donnent droit à une réduction\n" +" d'impôt à hauteur de" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.declaration,tax_shelter_percentage:0 +msgid "30%" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.declaration,tax_shelter_percentage:0 +msgid "45%" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Déclaration Tax Shelter" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid "Déclaration Tax Shelter\n" +"
\n" +" \n" +" Attestation concernant une des quatre années suivant\n" +" l'acquisition de parts\n" +" " +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "ASBL" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__access_warning +msgid "Access warning" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Amount" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_resold +msgid "Amount resold" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_subscribed +msgid "Amount subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_subscribed_eligible +msgid "Amount subscribed eligible" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_transfered +msgid "Amount transfered" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "Association" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.iban_template_be +msgid "BE4852308076712" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.iban_template_be +msgid "Bank Account Number" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Capital after" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__capital_after_sub +msgid "Capital after subscription" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Capital before" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__capital_before_sub +msgid "Capital before subscription" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__capital_limit +msgid "Capital limit" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__previously_subscribed_capital +msgid "Capital previously subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__lines +msgid "Certificate lines" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid "Cette lettre confirme qu'en date du" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Cette lettre vaut donc comme certificat que" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Cher membre," +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__company_id +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__company_id +msgid "Company" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_subscription_request__company_type +msgid "Company type" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "Company under public law" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.declaration,state:0 +msgid "Computed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model,name:l10n_be_cooperator.model_res_partner +msgid "Contact" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "Cooperative" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__partner_id +msgid "Cooperator" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__cooperator_number +msgid "Cooperator number" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Cooperator number:" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__create_uid +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__create_uid +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__create_uid +msgid "Created by" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__create_date +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__create_date +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__create_date +msgid "Created on" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,help:l10n_be_cooperator.field_tax_shelter_certificate__access_url +msgid "Customer Portal URL" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Date" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__date_from +msgid "Date from" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__date_to +msgid "Date to" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__declaration_id +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__declaration_id +#: model:ir.ui.menu,name:l10n_be_cooperator.main_declaration_menu +msgid "Declaration" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__name +msgid "Declaration year" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__display_name +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__display_name +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__display_name +msgid "Display Name" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.certificate,state:0 +#: selection:tax.shelter.declaration,state:0 +msgid "Draft" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Durant l'année" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "EURL / Entreprise individuelle" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Eligible amount" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model,name:l10n_be_cooperator.model_mail_template +msgid "Email Templates" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__excluded_cooperator +msgid "Excluded cooperator" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Excluded from Tax shelter" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__fiscal_year +msgid "Fiscal year" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "Foundation" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__id +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__id +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__id +msgid "ID" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,help:l10n_be_cooperator.field_tax_shelter_declaration__excluded_cooperator +msgid "If these cooperator have subscribed share during the time frame of this Tax Shelter Declaration. They will be marked as non eligible" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "Individual company" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:certificate.line,type:0 +msgid "Kept" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "L'Article 145/26, CIR 92 sur les revenus" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "L'apport de capitaux par le chef d'entreprise lui-même ou\n" +" par des administrateurs existants de la société ne permet\n" +" pas de bénéficier du tax shelter." +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line____last_update +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate____last_update +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration____last_update +msgid "Last Modified on" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__write_uid +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__write_uid +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__write_date +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__write_date +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__write_date +msgid "Last Updated on" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Le maintien de la réduction d'impôt n'est possible que si\n" +" l'investisseur conserve les parts de la coopérative pendant\n" +" 4 ans au minimum, sauf si la sortie est imposée par des\n" +" conditions extérieures (telles que la faillite, par\n" +" exemple). En cas de sortie volontaire avant la période de 4\n" +" ans, l'avantage fiscal devra être remboursé au prorata du\n" +" nombre de mois entre la sortie et les 4 ans. La coopérative\n" +" s'engage à fournir pour chacune des quatre années suivant\n" +" l'année d'acquisition une attestation certifiant que ces\n" +" parts sont toujours en possession du souscripteur." +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_res_partner__legal_form +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_res_users__legal_form +msgid "Legal form" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__month_from +msgid "Month from" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__month_to +msgid "Month to" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "No" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.certificate,state:0 +msgid "No eligible" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__quantity +msgid "Number of shares" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid "Numéro de coopérateur :" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "Partnership" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__access_url +msgid "Portal Access URL" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Pour bénéficier de la réduction d'impôts, vous pouvez\n" +" joindre cette lettre à votre déclaration fiscale pour les\n" +" revenus" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Pour le Conseil d'administration de" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Pour toute information complémentaire, consultez le texte de\n" +" l'Arrêté Royal." +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__previously_subscribed_eligible_lines +msgid "Previously Subscribed eligible lines" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__previously_subscribed_lines +msgid "Previously Subscribed lines" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Previously subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Print Shares Certificate" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Print Subscription Certificate" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Process Declaration" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Reset Declaration" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:certificate.line,type:0 +msgid "Resold" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "SA / SAS" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "SARL" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "SCRL" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:res.partner,legal_form:0 +#: selection:subscription.request,company_type:0 +msgid "SPRL" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__access_token +msgid "Security Token" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Sell back" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Send Certificates" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.certificate,state:0 +msgid "Sent" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__share_unit_price +msgid "Share price" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__share_type +msgid "Share type" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__share_short_name +msgid "Share type name" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__resold_lines +msgid "Shares resold" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__subscribed_lines +msgid "Shares subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__transfered_lines +msgid "Shares transfered" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__state +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__state +msgid "State" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:certificate.line,type:0 +msgid "Subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Subscription" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model,name:l10n_be_cooperator.model_subscription_request +msgid "Subscription Request" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model,name:l10n_be_cooperator.model_tax_shelter_certificate +#: model:mail.template,subject:l10n_be_cooperator.email_template_tax_shelter_certificate +msgid "Tax Shelter Certificate" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model,name:l10n_be_cooperator.model_certificate_line +msgid "Tax Shelter Certificate Line" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.actions.act_window,name:l10n_be_cooperator.tax_shelter_certificate_action +#: model:ir.ui.menu,name:l10n_be_cooperator.tax_shelter_certificate_menu +msgid "Tax Shelter Certificates" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model,name:l10n_be_cooperator.model_tax_shelter_declaration +#: model:ir.ui.menu,name:l10n_be_cooperator.tax_shelter_declaration_menu +msgid "Tax Shelter Declaration" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.actions.act_window,name:l10n_be_cooperator.tax_shelter_declaration_action +msgid "Tax Shelter Declarations" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__tax_shelter_percentage +msgid "Tax Shelter percentage" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__tax_shelter_capital_limit +msgid "Tax shelter capital limit" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__tax_shelter_certificate +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Tax shelter certificate" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__tax_shelter_certificates +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_tree +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Tax shelter certificates" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_tree +msgid "Tax shelter declaration" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__tax_shelter +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Tax shelter eligible" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.actions.server,name:l10n_be_cooperator.ir_cron_mail_tax_shelter_action_ir_actions_server +#: model:ir.cron,cron_name:l10n_be_cooperator.ir_cron_mail_tax_shelter_action +#: model:ir.cron,name:l10n_be_cooperator.ir_cron_mail_tax_shelter_action +msgid "Tax shelter mail batch mail" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.actions.report,name:l10n_be_cooperator.action_tax_shelter_shares_report +msgid "Tax shelter shares report" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.actions.report,name:l10n_be_cooperator.action_tax_shelter_subscription_report +msgid "Tax shelter subscription report" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount +msgid "Total" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Total amount" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_eligible +msgid "Total amount eligible To Tax shelter" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_eligible_previously_subscribed +msgid "Total eligible previously subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_previously_subscribed +msgid "Total previously subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_resold +msgid "Total resold" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_subscribed +msgid "Total subscribed" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_transfered +msgid "Total transfered" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__transaction_date +msgid "Transaction date" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:certificate.line,type:0 +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form +msgid "Transfered" +msgstr "" + +#. module: l10n_be_cooperator +#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__type +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Type" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form +msgid "Validate Declaration" +msgstr "" + +#. module: l10n_be_cooperator +#: selection:tax.shelter.certificate,state:0 +#: selection:tax.shelter.declaration,state:0 +msgid "Validated" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "Yes" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "du montant de la valeur des parts souscrites depuis" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid "euros et que la condition prévue à l'article 145(26), §3,\n" +" alinéa 2, CIR92 est remplie." +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "euros.\n" +"
" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "euros.\n" +"
\n" +" Le montant éligible pour le Tax shelter est de" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "la moyenne des travailleurs occupés pendant l'année\n" +" est inférieure ou égale à 10." +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "le chiffre d'affaires, hors taxe sur la valeur\n" +" ajoutée, est inférieur ou égal à 700.000 euros ;" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "le total du bilan est inférieur ou égal à 350.000\n" +" euros ;" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "pour la déclaration des revenus" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "pour un montant total de" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "remplit en effet tous les critères permettant un tel\n" +" avantage fiscal. Dans les grandes lignes il faut être une\n" +" micro-entreprise n'ayant encore jamais distribué de\n" +" dividende et qui n'est pas issue d'une fusion ou scission de\n" +" sociétés et qui répond à au moins deux des trois critères\n" +" suivants :" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document +msgid "vous avez souscrit des parts de" +msgstr "" + +#. module: l10n_be_cooperator +#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document +msgid "À la date du" +msgstr "" + diff --git a/l10n_be_cooperator_national_number/models/__init__.py b/l10n_be_cooperator_national_number/models/__init__.py new file mode 100644 index 000000000..397fcdcab --- /dev/null +++ b/l10n_be_cooperator_national_number/models/__init__.py @@ -0,0 +1,2 @@ +from . import subscription_request +from . import company diff --git a/l10n_be_cooperator_national_number/models/company.py b/l10n_be_cooperator_national_number/models/company.py new file mode 100644 index 000000000..455144e3c --- /dev/null +++ b/l10n_be_cooperator_national_number/models/company.py @@ -0,0 +1,12 @@ +# Copyright 2019 Coop IT Easy SCRL fs +# Houssine Bakkali +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + + +from odoo import fields, models + + +class ResCompany(models.Model): + _inherit = "res.company" + + require_national_number = fields.Boolean(string="Require National Number") diff --git a/l10n_be_cooperator_national_number/models/subscription_request.py b/l10n_be_cooperator_national_number/models/subscription_request.py new file mode 100644 index 000000000..4897b9403 --- /dev/null +++ b/l10n_be_cooperator_national_number/models/subscription_request.py @@ -0,0 +1,73 @@ +from odoo import fields, models, api, _ +from odoo.exceptions import UserError + + +class SubscriptionRequest(models.Model): + _inherit = "subscription.request" + + national_number = fields.Char(string="National Number") + display_national_number = fields.Boolean( + compute="_compute_display_national_number", + default=lambda self: self._check_national_number_required()) + + @api.depends( + "company_id", + "company_id.require_national_number", + ) + def _compute_display_national_number(self): + self.display_national_number = self._check_national_number_required() + + def _check_national_number_required(self): + company = self.env["res.company"]._company_default_get() + return company.require_national_number + + def get_national_number_from_partner(self, partner): + national_number_id_category = self.env.ref( + "l10n_be_national_number.l10n_be_national_number_category" + ).id + national_number = partner.id_numbers.filtered( + lambda rec: rec.category_id.id == national_number_id_category) + return national_number.name + + def validate_subscription_request(self): + self.ensure_one() + if (self._check_national_number_required() and not self.national_number and + not self.is_company): + raise UserError(_("National Number is required.")) + super().validate_subscription_request() + + def create_national_number(self, partner): + if self._check_national_number_required(): + if not self.is_company: + values = { + "name": self.national_number, + "category_id": self.env.ref( + "l10n_be_national_number.l10n_be_national_number_category" # noqa + ).id, + "partner_id": partner.id, + } + self.env["res.partner.id_number"].create(values) + return partner + + def create_coop_partner(self): + partner = super().create_coop_partner() + self.create_national_number(partner) + return partner + + def get_representative_vals(self): + contact_vals = super().get_representative_vals() + contact_vals["national_number"] = self.national_number + return contact_vals + + def get_partner_vals(self): + contact_vals = super().get_partner_vals() + contact_vals["national_number"] = self.national_number + return contact_vals + + def get_person_info(self, partner): + super().get_person_info(partner) + self.national_number = self.get_national_number_from_partner(partner) + + def update_partner_info(self): + self.create_national_number(self.partner_id) + super().update_partner_info() diff --git a/l10n_be_cooperator_national_number/readme/CONTRIBUTORS.rst b/l10n_be_cooperator_national_number/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..8c568398a --- /dev/null +++ b/l10n_be_cooperator_national_number/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Coop IT Easy SC diff --git a/l10n_be_cooperator_national_number/readme/DESCRIPTION.rst b/l10n_be_cooperator_national_number/readme/DESCRIPTION.rst new file mode 100644 index 000000000..01976ff2d --- /dev/null +++ b/l10n_be_cooperator_national_number/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Ask for Belgian National Number in Subscription Request. diff --git a/l10n_be_cooperator_national_number/static/description/index.html b/l10n_be_cooperator_national_number/static/description/index.html new file mode 100644 index 000000000..5a9d5bfac --- /dev/null +++ b/l10n_be_cooperator_national_number/static/description/index.html @@ -0,0 +1,414 @@ + + + + + + +Belgium: Cooperator National Number + + + +
+

Belgium: Cooperator National Number

+ + +

Beta License: AGPL-3 oca/l10n-belgium

+

Ask for Belgian National Number in Subscription Request.

+

Table of contents

+ +
+

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

Maintainers

+

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

+

You are welcome to contribute.

+
+
+
+ + diff --git a/l10n_be_cooperator_national_number/tests/__init__.py b/l10n_be_cooperator_national_number/tests/__init__.py new file mode 100644 index 000000000..5a733cd23 --- /dev/null +++ b/l10n_be_cooperator_national_number/tests/__init__.py @@ -0,0 +1,2 @@ +from . import test_cooperator_national_number + diff --git a/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py b/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py new file mode 100644 index 000000000..2076a2ec1 --- /dev/null +++ b/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py @@ -0,0 +1,41 @@ +# Copyright 2019 Coop IT Easy SCRL fs +# Robin Keunen +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +from odoo.exceptions import UserError +from odoo.tests.common import SavepointCase + +from odoo.addons.cooperator.tests.cooperator_test_mixin import CooperatorTestMixin + + +class TestCooperatorNationalNumber(SavepointCase, CooperatorTestMixin): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.set_up_cooperator_test_data() + + def create_subscription_request(self): + vals = self.get_dummy_subscription_requests_vals() + return self.env["subscription.request"].create(vals) + + def set_national_number_required(self): + company = self.env["res.company"]._company_default_get() + company.require_national_number = True + + def test_national_number_applied_to_partner(self): + self.set_national_number_required() + subscription_request = self.create_subscription_request() + id_number = 12345 + subscription_request.national_number = id_number + subscription_request.validate_subscription_request() + partner = subscription_request.partner_id + created_id_number = self.env["res.partner.id_number"].search( + [('name', '=', id_number)]) + self.assertTrue(created_id_number) + self.assertEqual(created_id_number.partner_id, partner) + + def test_error_if_missing_and_required(self): + self.set_national_number_required() + subscription_request = self.create_subscription_request() + with self.assertRaises(UserError): + subscription_request.validate_subscription_request() diff --git a/l10n_be_cooperator_national_number/views/res_company_view.xml b/l10n_be_cooperator_national_number/views/res_company_view.xml new file mode 100644 index 000000000..fd5e94175 --- /dev/null +++ b/l10n_be_cooperator_national_number/views/res_company_view.xml @@ -0,0 +1,13 @@ + + + + res.company.form.easymy.coop + + res.company + + + + + + + diff --git a/l10n_be_cooperator_national_number/views/subscription_request_view.xml b/l10n_be_cooperator_national_number/views/subscription_request_view.xml new file mode 100644 index 000000000..19f519fba --- /dev/null +++ b/l10n_be_cooperator_national_number/views/subscription_request_view.xml @@ -0,0 +1,18 @@ + + + + + + subscription.request.view.form + subscription.request + + + + + + + + + From 6716e316fd55d07706b1261b16e3193ec4824733 Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Thu, 23 Feb 2023 11:40:49 +0100 Subject: [PATCH 02/16] [ADD] l10n_be_cooperator_website_national_number Signed-off-by: Carmen Bianca BAKKER --- .../__init__.py | 1 - .../controllers/__init__.py | 1 - .../controllers/main.py | 19 ------------------- 3 files changed, 21 deletions(-) delete mode 100644 l10n_be_cooperator_national_number/controllers/__init__.py delete mode 100644 l10n_be_cooperator_national_number/controllers/main.py diff --git a/l10n_be_cooperator_national_number/__init__.py b/l10n_be_cooperator_national_number/__init__.py index f7209b171..0650744f6 100644 --- a/l10n_be_cooperator_national_number/__init__.py +++ b/l10n_be_cooperator_national_number/__init__.py @@ -1,2 +1 @@ from . import models -from . import controllers diff --git a/l10n_be_cooperator_national_number/controllers/__init__.py b/l10n_be_cooperator_national_number/controllers/__init__.py deleted file mode 100644 index 12a7e529b..000000000 --- a/l10n_be_cooperator_national_number/controllers/__init__.py +++ /dev/null @@ -1 +0,0 @@ -from . import main diff --git a/l10n_be_cooperator_national_number/controllers/main.py b/l10n_be_cooperator_national_number/controllers/main.py deleted file mode 100644 index 394f8ccf6..000000000 --- a/l10n_be_cooperator_national_number/controllers/main.py +++ /dev/null @@ -1,19 +0,0 @@ -from odoo import http -from odoo.http import request - - -class WebsiteSubscription(http.Controller): - - def get_values_from_user(self, values, is_company): - values = super().get_values_from_user(self, values, is_company) - if request.env.user.login != "public": - partner = request.env.user.partner_id - company = self.env["res.company"]._company_default_get() - if not is_company and company.require_national_number: - national_number_id_category = self.env.ref( - "l10n_be_national_number.l10n_be_national_number_category" - ).id - national_number = partner.id_numbers.search( - [('category_id', '=', national_number_id_category)]) - values["national_number"] = national_number - return values From dbe9d7bd8ce4cef625098951f0a0d3962eae6135 Mon Sep 17 00:00:00 2001 From: Victor Champonnois Date: Thu, 23 Feb 2023 16:56:39 +0100 Subject: [PATCH 03/16] run black Signed-off-by: Carmen Bianca BAKKER --- .../__manifest__.py | 10 ++------- .../models/subscription_request.py | 22 ++++++++++--------- .../tests/__init__.py | 1 - .../tests/test_cooperator_national_number.py | 3 ++- 4 files changed, 16 insertions(+), 20 deletions(-) diff --git a/l10n_be_cooperator_national_number/__manifest__.py b/l10n_be_cooperator_national_number/__manifest__.py index 2715828da..f21ade1fe 100644 --- a/l10n_be_cooperator_national_number/__manifest__.py +++ b/l10n_be_cooperator_national_number/__manifest__.py @@ -4,17 +4,11 @@ "name": "Belgium: Cooperator National Number", "summary": "Ask for Belgian National Number in Cooperative Subscription Request.", "version": "12.0.1.0.0", - "depends": [ - "cooperator", - "l10n_be_national_number", - ], + "depends": ["cooperator", "l10n_be_national_number"], "author": "Coop IT Easy SC, Odoo Community Association (OCA)", "category": "Cooperative management", "website": "https://github.com/OCA/cooperative", "license": "AGPL-3", - "data": [ - "views/subscription_request_view.xml", - "views/res_company_view.xml", - ], + "data": ["views/subscription_request_view.xml", "views/res_company_view.xml"], "demo": [], } diff --git a/l10n_be_cooperator_national_number/models/subscription_request.py b/l10n_be_cooperator_national_number/models/subscription_request.py index 4897b9403..286f5fc3d 100644 --- a/l10n_be_cooperator_national_number/models/subscription_request.py +++ b/l10n_be_cooperator_national_number/models/subscription_request.py @@ -8,12 +8,10 @@ class SubscriptionRequest(models.Model): national_number = fields.Char(string="National Number") display_national_number = fields.Boolean( compute="_compute_display_national_number", - default=lambda self: self._check_national_number_required()) + default=lambda self: self._check_national_number_required(), + ) - @api.depends( - "company_id", - "company_id.require_national_number", - ) + @api.depends("company_id", "company_id.require_national_number") def _compute_display_national_number(self): self.display_national_number = self._check_national_number_required() @@ -24,15 +22,19 @@ def _check_national_number_required(self): def get_national_number_from_partner(self, partner): national_number_id_category = self.env.ref( "l10n_be_national_number.l10n_be_national_number_category" - ).id + ).id national_number = partner.id_numbers.filtered( - lambda rec: rec.category_id.id == national_number_id_category) + lambda rec: rec.category_id.id == national_number_id_category + ) return national_number.name def validate_subscription_request(self): self.ensure_one() - if (self._check_national_number_required() and not self.national_number and - not self.is_company): + if ( + self._check_national_number_required() + and not self.national_number + and not self.is_company + ): raise UserError(_("National Number is required.")) super().validate_subscription_request() @@ -43,7 +45,7 @@ def create_national_number(self, partner): "name": self.national_number, "category_id": self.env.ref( "l10n_be_national_number.l10n_be_national_number_category" # noqa - ).id, + ).id, "partner_id": partner.id, } self.env["res.partner.id_number"].create(values) diff --git a/l10n_be_cooperator_national_number/tests/__init__.py b/l10n_be_cooperator_national_number/tests/__init__.py index 5a733cd23..22fec90ed 100644 --- a/l10n_be_cooperator_national_number/tests/__init__.py +++ b/l10n_be_cooperator_national_number/tests/__init__.py @@ -1,2 +1 @@ from . import test_cooperator_national_number - diff --git a/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py b/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py index 2076a2ec1..2d189a3dd 100644 --- a/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py +++ b/l10n_be_cooperator_national_number/tests/test_cooperator_national_number.py @@ -30,7 +30,8 @@ def test_national_number_applied_to_partner(self): subscription_request.validate_subscription_request() partner = subscription_request.partner_id created_id_number = self.env["res.partner.id_number"].search( - [('name', '=', id_number)]) + [("name", "=", id_number)] + ) self.assertTrue(created_id_number) self.assertEqual(created_id_number.partner_id, partner) From 774df4cefd5e3ce3905ee4f3587a645888d14d3b Mon Sep 17 00:00:00 2001 From: oca-ci Date: Thu, 23 Feb 2023 16:36:21 +0000 Subject: [PATCH 04/16] [UPD] Update l10n_be_cooperator_national_number.pot Signed-off-by: Carmen Bianca BAKKER --- .../l10n_be_cooperator_national_number.pot | 872 +----------------- 1 file changed, 19 insertions(+), 853 deletions(-) diff --git a/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot b/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot index 8e8141448..bc0d4df5c 100644 --- a/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot +++ b/l10n_be_cooperator_national_number/i18n/l10n_be_cooperator_national_number.pot @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * l10n_be_cooperator +# * l10n_be_cooperator_national_number # msgid "" msgstr "" @@ -13,868 +13,34 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: l10n_be_cooperator -#: model:mail.template,body_html:l10n_be_cooperator.email_template_tax_shelter_certificate -msgid "\n" -"
\n" -"

Hello ${object.partner_id.name},

\n" -"\n" -"

You have subscribed to some shares of ${object.company_id.name} on ${object.declaration_id.fiscal_year}.\n" -" You can benefit from the tax shelter, it means a tax reduction of ${object.declaration_id.tax_shelter_percentage} percent on the invested amount.\n" -" For this you will find in attachments the documents certifying that you've suscribed to ${object.company_id.name} shares

\n" -"

A dedicated FAQ is coming soon on ${object.company_id.website}.

\n" -"

For any additional questions, please contact ${object.company_id.coop_email_contact}

\n" -"

Sustainably yours,

\n" -"

${object.company_id.name}.

\n" -"\n" -" % if object.company_id.street:\n" -" ${object.company_id.street}\n" -" % endif\n" -" % if object.company_id.street2:\n" -" ${object.company_id.street2}
\n" -" % endif\n" -" % if object.company_id.city or object.company_id.zip:\n" -" ${object.company_id.zip} ${object.company_id.city}
\n" -" % endif\n" -" % if object.company_id.country_id:\n" -" ${object.company_id.state_id and ('%s, ' % object.company_id.state_id.name) or ''} ${object.company_id.country_id.name or ''}
\n" -" % endif\n" -" % if object.company_id.phone:\n" -" Phone:  ${object.company_id.phone}\n" -" % endif\n" -"\n" -" % if object.company_id.website:\n" -"
\n" -" Web : ${object.company_id.website}\n" -"
\n" -" %endif\n" -"\n" -"
\n" -" \n" -"
\n" -"
\n" -" " +#. module: l10n_be_cooperator_national_number +#: model:ir.model,name:l10n_be_cooperator_national_number.model_res_company +msgid "Companies" msgstr "" -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "(et avant" +#. module: l10n_be_cooperator_national_number +#: model:ir.model.fields,field_description:l10n_be_cooperator_national_number.field_subscription_request__display_national_number +msgid "Display National Number" msgstr "" -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid ",\n" -" vous êtes devenu coopérateur de" +#. module: l10n_be_cooperator_national_number +#: model:ir.model.fields,field_description:l10n_be_cooperator_national_number.field_subscription_request__national_number +msgid "National Number" msgstr "" -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid ",\n" -" vous êtes toujours en possession de parts de" +#. module: l10n_be_cooperator_national_number +#: code:addons/l10n_be_cooperator_national_number/models/subscription_request.py:38 +#, python-format +msgid "National Number is required." msgstr "" -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid ", connu aussi\n" -" comme normative Tax Shelter, donnent droit à une réduction\n" -" d'impôt à hauteur de" +#. module: l10n_be_cooperator_national_number +#: model:ir.model.fields,field_description:l10n_be_cooperator_national_number.field_res_company__require_national_number +msgid "Require National Number" msgstr "" -#. module: l10n_be_cooperator -#: selection:tax.shelter.declaration,tax_shelter_percentage:0 -msgid "30%" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:tax.shelter.declaration,tax_shelter_percentage:0 -msgid "45%" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Déclaration Tax Shelter" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid "Déclaration Tax Shelter\n" -"
\n" -" \n" -" Attestation concernant une des quatre années suivant\n" -" l'acquisition de parts\n" -" " -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "ASBL" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__access_warning -msgid "Access warning" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Amount" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_resold -msgid "Amount resold" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_subscribed -msgid "Amount subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_subscribed_eligible -msgid "Amount subscribed eligible" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__amount_transfered -msgid "Amount transfered" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "Association" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.iban_template_be -msgid "BE4852308076712" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.iban_template_be -msgid "Bank Account Number" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Capital after" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__capital_after_sub -msgid "Capital after subscription" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Capital before" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__capital_before_sub -msgid "Capital before subscription" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__capital_limit -msgid "Capital limit" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__previously_subscribed_capital -msgid "Capital previously subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__lines -msgid "Certificate lines" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid "Cette lettre confirme qu'en date du" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Cette lettre vaut donc comme certificat que" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Cher membre," -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__company_id -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__company_id -msgid "Company" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_subscription_request__company_type -msgid "Company type" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "Company under public law" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:tax.shelter.declaration,state:0 -msgid "Computed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model,name:l10n_be_cooperator.model_res_partner -msgid "Contact" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "Cooperative" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__partner_id -msgid "Cooperator" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__cooperator_number -msgid "Cooperator number" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Cooperator number:" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__create_uid -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__create_uid -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__create_uid -msgid "Created by" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__create_date -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__create_date -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__create_date -msgid "Created on" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,help:l10n_be_cooperator.field_tax_shelter_certificate__access_url -msgid "Customer Portal URL" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Date" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__date_from -msgid "Date from" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__date_to -msgid "Date to" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__declaration_id -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__declaration_id -#: model:ir.ui.menu,name:l10n_be_cooperator.main_declaration_menu -msgid "Declaration" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__name -msgid "Declaration year" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__display_name -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__display_name -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__display_name -msgid "Display Name" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:tax.shelter.certificate,state:0 -#: selection:tax.shelter.declaration,state:0 -msgid "Draft" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Durant l'année" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "EURL / Entreprise individuelle" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Eligible amount" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model,name:l10n_be_cooperator.model_mail_template -msgid "Email Templates" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__excluded_cooperator -msgid "Excluded cooperator" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Excluded from Tax shelter" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__fiscal_year -msgid "Fiscal year" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "Foundation" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__id -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__id -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__id -msgid "ID" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,help:l10n_be_cooperator.field_tax_shelter_declaration__excluded_cooperator -msgid "If these cooperator have subscribed share during the time frame of this Tax Shelter Declaration. They will be marked as non eligible" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "Individual company" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:certificate.line,type:0 -msgid "Kept" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "L'Article 145/26, CIR 92 sur les revenus" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "L'apport de capitaux par le chef d'entreprise lui-même ou\n" -" par des administrateurs existants de la société ne permet\n" -" pas de bénéficier du tax shelter." -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line____last_update -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate____last_update -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration____last_update -msgid "Last Modified on" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__write_uid -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__write_uid -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__write_date -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__write_date -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__write_date -msgid "Last Updated on" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Le maintien de la réduction d'impôt n'est possible que si\n" -" l'investisseur conserve les parts de la coopérative pendant\n" -" 4 ans au minimum, sauf si la sortie est imposée par des\n" -" conditions extérieures (telles que la faillite, par\n" -" exemple). En cas de sortie volontaire avant la période de 4\n" -" ans, l'avantage fiscal devra être remboursé au prorata du\n" -" nombre de mois entre la sortie et les 4 ans. La coopérative\n" -" s'engage à fournir pour chacune des quatre années suivant\n" -" l'année d'acquisition une attestation certifiant que ces\n" -" parts sont toujours en possession du souscripteur." -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_res_partner__legal_form -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_res_users__legal_form -msgid "Legal form" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__month_from -msgid "Month from" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__month_to -msgid "Month to" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "No" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:tax.shelter.certificate,state:0 -msgid "No eligible" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__quantity -msgid "Number of shares" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid "Numéro de coopérateur :" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "Partnership" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__access_url -msgid "Portal Access URL" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Pour bénéficier de la réduction d'impôts, vous pouvez\n" -" joindre cette lettre à votre déclaration fiscale pour les\n" -" revenus" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Pour le Conseil d'administration de" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Pour toute information complémentaire, consultez le texte de\n" -" l'Arrêté Royal." -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__previously_subscribed_eligible_lines -msgid "Previously Subscribed eligible lines" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__previously_subscribed_lines -msgid "Previously Subscribed lines" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Previously subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Print Shares Certificate" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Print Subscription Certificate" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Process Declaration" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Reset Declaration" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:certificate.line,type:0 -msgid "Resold" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "SA / SAS" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "SARL" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "SCRL" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:res.partner,legal_form:0 -#: selection:subscription.request,company_type:0 -msgid "SPRL" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__access_token -msgid "Security Token" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Sell back" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Send Certificates" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:tax.shelter.certificate,state:0 -msgid "Sent" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__share_unit_price -msgid "Share price" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__share_type -msgid "Share type" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__share_short_name -msgid "Share type name" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__resold_lines -msgid "Shares resold" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__subscribed_lines -msgid "Shares subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__transfered_lines -msgid "Shares transfered" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__state -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__state -msgid "State" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:certificate.line,type:0 -msgid "Subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Subscription" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model,name:l10n_be_cooperator.model_subscription_request +#. module: l10n_be_cooperator_national_number +#: model:ir.model,name:l10n_be_cooperator_national_number.model_subscription_request msgid "Subscription Request" msgstr "" -#. module: l10n_be_cooperator -#: model:ir.model,name:l10n_be_cooperator.model_tax_shelter_certificate -#: model:mail.template,subject:l10n_be_cooperator.email_template_tax_shelter_certificate -msgid "Tax Shelter Certificate" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model,name:l10n_be_cooperator.model_certificate_line -msgid "Tax Shelter Certificate Line" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.actions.act_window,name:l10n_be_cooperator.tax_shelter_certificate_action -#: model:ir.ui.menu,name:l10n_be_cooperator.tax_shelter_certificate_menu -msgid "Tax Shelter Certificates" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model,name:l10n_be_cooperator.model_tax_shelter_declaration -#: model:ir.ui.menu,name:l10n_be_cooperator.tax_shelter_declaration_menu -msgid "Tax Shelter Declaration" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.actions.act_window,name:l10n_be_cooperator.tax_shelter_declaration_action -msgid "Tax Shelter Declarations" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__tax_shelter_percentage -msgid "Tax Shelter percentage" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__tax_shelter_capital_limit -msgid "Tax shelter capital limit" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__tax_shelter_certificate -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Tax shelter certificate" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_declaration__tax_shelter_certificates -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_tree -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Tax shelter certificates" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_tree -msgid "Tax shelter declaration" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__tax_shelter -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Tax shelter eligible" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.actions.server,name:l10n_be_cooperator.ir_cron_mail_tax_shelter_action_ir_actions_server -#: model:ir.cron,cron_name:l10n_be_cooperator.ir_cron_mail_tax_shelter_action -#: model:ir.cron,name:l10n_be_cooperator.ir_cron_mail_tax_shelter_action -msgid "Tax shelter mail batch mail" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.actions.report,name:l10n_be_cooperator.action_tax_shelter_shares_report -msgid "Tax shelter shares report" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.actions.report,name:l10n_be_cooperator.action_tax_shelter_subscription_report -msgid "Tax shelter subscription report" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount -msgid "Total" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Total amount" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_eligible -msgid "Total amount eligible To Tax shelter" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_eligible_previously_subscribed -msgid "Total eligible previously subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_previously_subscribed -msgid "Total previously subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_resold -msgid "Total resold" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_subscribed -msgid "Total subscribed" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_tax_shelter_certificate__total_amount_transfered -msgid "Total transfered" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__transaction_date -msgid "Transaction date" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:certificate.line,type:0 -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_certificate_view_form -msgid "Transfered" -msgstr "" - -#. module: l10n_be_cooperator -#: model:ir.model.fields,field_description:l10n_be_cooperator.field_certificate_line__type -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Type" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_declaration_view_form -msgid "Validate Declaration" -msgstr "" - -#. module: l10n_be_cooperator -#: selection:tax.shelter.certificate,state:0 -#: selection:tax.shelter.declaration,state:0 -msgid "Validated" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "Yes" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "du montant de la valeur des parts souscrites depuis" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid "euros et que la condition prévue à l'article 145(26), §3,\n" -" alinéa 2, CIR92 est remplie." -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "euros.\n" -"
" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "euros.\n" -"
\n" -" Le montant éligible pour le Tax shelter est de" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "la moyenne des travailleurs occupés pendant l'année\n" -" est inférieure ou égale à 10." -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "le chiffre d'affaires, hors taxe sur la valeur\n" -" ajoutée, est inférieur ou égal à 700.000 euros ;" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "le total du bilan est inférieur ou égal à 350.000\n" -" euros ;" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "pour la déclaration des revenus" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "pour un montant total de" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "remplit en effet tous les critères permettant un tel\n" -" avantage fiscal. Dans les grandes lignes il faut être une\n" -" micro-entreprise n'ayant encore jamais distribué de\n" -" dividende et qui n'est pas issue d'une fusion ou scission de\n" -" sociétés et qui répond à au moins deux des trois critères\n" -" suivants :" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_subscription_document -msgid "vous avez souscrit des parts de" -msgstr "" - -#. module: l10n_be_cooperator -#: model_terms:ir.ui.view,arch_db:l10n_be_cooperator.tax_shelter_report_shares_document -msgid "À la date du" -msgstr "" - From 26ece8b2cf40fdbe76d3898141b9186966127c53 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Thu, 23 Feb 2023 16:40:12 +0000 Subject: [PATCH 05/16] [UPD] README.rst Signed-off-by: Carmen Bianca BAKKER --- l10n_be_cooperator_national_number/README.rst | 29 ++++++++++++++----- .../static/description/index.html | 17 +++++++---- 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/l10n_be_cooperator_national_number/README.rst b/l10n_be_cooperator_national_number/README.rst index e7377a2ab..d30414ef7 100644 --- a/l10n_be_cooperator_national_number/README.rst +++ b/l10n_be_cooperator_national_number/README.rst @@ -13,11 +13,14 @@ Belgium: Cooperator 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_cooperator_national_number - :alt: oca/l10n-belgium +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcooperative-lightgray.png?logo=github + :target: https://github.com/OCA/cooperative/tree/12.0/l10n_be_cooperator_national_number + :alt: OCA/cooperative +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/cooperative-12-0/cooperative-12-0-l10n_be_cooperator_national_number + :alt: Translate me on Weblate -|badge1| |badge2| |badge3| +|badge1| |badge2| |badge3| |badge4| Ask for Belgian National Number in Subscription Request. @@ -29,10 +32,10 @@ Ask for Belgian National Number in Subscription Request. 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. @@ -52,6 +55,16 @@ Contributors Maintainers ~~~~~~~~~~~ -This module is part of the `oca/l10n-belgium `_ project on GitHub. +This module is maintained by the OCA. -You are welcome to contribute. +.. 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/cooperative `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_be_cooperator_national_number/static/description/index.html b/l10n_be_cooperator_national_number/static/description/index.html index 5a9d5bfac..b00e64413 100644 --- a/l10n_be_cooperator_national_number/static/description/index.html +++ b/l10n_be_cooperator_national_number/static/description/index.html @@ -3,7 +3,7 @@ - + Belgium: Cooperator National Number