diff --git a/companyweb_base/README.rst b/companyweb_base/README.rst new file mode 100644 index 000000000..901b7696b --- /dev/null +++ b/companyweb_base/README.rst @@ -0,0 +1,187 @@ +========== +Companyweb +========== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:e97f82bfeb7ec70b53e487c6e04d178a5c4da795ef0b7ea331ba501c6e02f7f8 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png + :target: https://odoo-community.org/page/development-status + :alt: Production/Stable +.. |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/18.0/companyweb_base + :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-18-0/l10n-belgium-18-0-companyweb_base + :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=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +`www.companyweb.be `__ + +Companyweb is the expert in company information in Belgium. + +This app provides insights into the financial health of Belgian +companies, directly from the Odoo Customer view. + +Enhance the Odoo partner with Companyweb data, with one click: + +- Name and address +- Status +- Health barometer +- Credit limit +- Bankruptcy risk warnings +- Key financial information (turnover, gross margin, profit/loss…) +- etc + +Copy the address from Companyweb to your Odoo partner address. + +With this valuable information you can personally evaluate each company +and know who you are doing business with. + +Try for free and get your credentials here: +`www.companyweb.be/integrations/37/odoo `__ + +Want to know how fast companies pay their invoices? Then also install +the second module from Companyweb: payment experience. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +This module can be installed in the usual way. It depends on the OCA +``web_notify`` module. + +Usage +===== + +With this integration you get detailed information about a company based +on the VAT number of the company. + +This module comes with 2 security groups. + +- View Companyweb Data : can see the Companyweb data tab in contacts +- Download Companyweb Data : can actually enhance data + +Once your user has the correct permissions, open a partner that has a +belgian VAT number and click on the Companyweb button. + +|image1| + +If you don't see the Companyweb button, refresh your browser page and +check that the current user is in the correct Companyweb group. + +If your Companyweb credentials are not known in the system or have +changed, you will be shown a wizard to enter them. + +|image2| + +If everything runs smoothly you'll see a confirmation popup in the upper +right corner of your screen. + +|image3| + +You can now view the Companyweb information in the corresponding tab. + +|image4| + +You can also use the "Copy Address" button to update the partner address +with the one obtained from Companyweb. + +.. |image1| image:: https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_on_new_partner.png +.. |image2| image:: https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_get_credentials.png +.. |image3| image:: https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_success_message.png +.. |image4| image:: https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_companyweb_data.png + +Changelog +========= + +15.0.1.0.2 (2022-02-08) +----------------------- + +**Bugfixes** + +- The ``Gross Margin`` and ``Fiscal Year Profit/Loss`` field values + were mixed up. This is now fixed. + (`#135 `__) + +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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* ACSONE SA/NV + +Contributors +------------ + +- Xavier Bouquiaux +- Stéphane Bidoul +- Bert Van Groenendael + +Other credits +------------- + +This module has been originally developed by +`ACSONE `__ for Odoo version 8. + +It was subsequently enhanced by Jacques-Etienne Baudoux (BCIM sprl). The +data model of that version has been preserved to facilitate porting. + +In 2021, the module was redeveloped under the current form, to support +the new Companyweb SOAP api. This development has been funded by +`Companyweb `__. + +- Companyweb +- Katrien Billen + +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. + +.. |maintainer-xavier-bouquiaux| image:: https://github.com/xavier-bouquiaux.png?size=40px + :target: https://github.com/xavier-bouquiaux + :alt: xavier-bouquiaux + +Current `maintainer `__: + +|maintainer-xavier-bouquiaux| + +This module is part of the `OCA/l10n-belgium `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/companyweb_base/__init__.py b/companyweb_base/__init__.py new file mode 100644 index 000000000..aee8895e7 --- /dev/null +++ b/companyweb_base/__init__.py @@ -0,0 +1,2 @@ +from . import models +from . import wizards diff --git a/companyweb_base/__manifest__.py b/companyweb_base/__manifest__.py new file mode 100644 index 000000000..153dab97b --- /dev/null +++ b/companyweb_base/__manifest__.py @@ -0,0 +1,32 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Companyweb", + "summary": ( + "Know who you are dealing with. " + "Enhance Odoo partner data from companyweb.be." + ), + "author": "ACSONE SA/NV,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/l10n-belgium", + "version": "18.0.1.0.0", + "development_status": "Production/Stable", + "license": "AGPL-3", + "installable": True, + "data": [ + "data/ir_config_parameter.xml", + "security/security.xml", + "security/ir.model.access.csv", + "views/partner_view.xml", + "wizards/credential_wizard.xml", + ], + "images": [ + "static/description/doc_companyweb_data.png", + ], + "external_dependencies": { + "python": [ + "zeep", + ], + }, + "depends": ["contacts"], + "maintainers": ["xavier-bouquiaux"], +} diff --git a/companyweb_base/data/ir_config_parameter.xml b/companyweb_base/data/ir_config_parameter.xml new file mode 100644 index 000000000..fc48a63d7 --- /dev/null +++ b/companyweb_base/data/ir_config_parameter.xml @@ -0,0 +1,9 @@ + + + + companyweb.alacarte + https://connect.companyweb.be/V1.3/alacarteservice.asmx + + diff --git a/companyweb_base/i18n/companyweb_base.pot b/companyweb_base/i18n/companyweb_base.pot new file mode 100644 index 000000000..77352ddbd --- /dev/null +++ b/companyweb_base/i18n/companyweb_base.pot @@ -0,0 +1,613 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * companyweb_base +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.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: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "" +"
\n" +" Click here to create your login information: " +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "" +"\n" +" \n" +" Seat\n" +" \n" +" " +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Address" +msgstr "" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_abstract +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_base +msgid "Ask for Companyweb login & password" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Average number of staff in FTE" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Book year" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Cancel" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Closing date of the book year" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Commercial report" +msgstr "" + +#. module: companyweb_base +#: model:ir.module.category,name:companyweb_base.companyweb +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Companyweb" +msgstr "" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb : You don't have access" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_address_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_address_enable +msgid "Companyweb Address Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte +msgid "Companyweb Average number of staff in FTE" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte_unset +msgid "Companyweb Average number of staff in FTE Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_data_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_data_enable +msgid "Companyweb Balance Data Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year +msgid "Companyweb Balance Year" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year_unset +msgid "Companyweb Balance Year Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image +msgid "Companyweb Barometer Image" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_unset +msgid "Companyweb Barometer Image Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_tag +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_tag +msgid "Companyweb Barometer Image tag" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_address +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_address +msgid "Companyweb Button Address Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_enhance +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_enhance +msgid "Companyweb Button Enhance Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_city +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_city +msgid "Companyweb City" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date +msgid "Companyweb Closed Date" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date_unset +msgid "Companyweb Closed Date Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus +msgid "Companyweb Company Status" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_enable +msgid "Companyweb Company Status Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_code +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_code +msgid "Companyweb Company StatusCode" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_country +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_country +msgid "Companyweb Country" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit +msgid "Companyweb Credit limit" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_enable +msgid "Companyweb Credit limit Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info +msgid "Companyweb Credit limit Info" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info_unset +msgid "Companyweb Credit limit Info Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_unset +msgid "Companyweb Credit limit Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url +msgid "Companyweb Detailed Report" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_enable +msgid "Companyweb Detailed Report Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate +msgid "Companyweb End Date" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate_enable +msgid "Companyweb End date Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital +msgid "Companyweb Equity Capital" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital_unset +msgid "Companyweb Equity Capital Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result +msgid "Companyweb Fiscal Year Profit/Loss (+/-)" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result_unset +msgid "Companyweb Fiscal Year Profit/Loss (+/-) Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue +msgid "Companyweb Gross Margin (+/-)" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue_unset +msgid "Companyweb Gross Margin (+/-) Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form +msgid "Companyweb Juridical Form" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form_enable +msgid "Companyweb Juridical Form Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_lastupdate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_lastupdate +msgid "Companyweb Last Update" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_login +msgid "Companyweb Login" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name +msgid "Companyweb Name" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name_enable +msgid "Companyweb Name Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_password +msgid "Companyweb Password" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_zip +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_zip +msgid "Companyweb Postal code" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang +msgid "Companyweb Preferred Language" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang_enable +msgid "Companyweb Preferred Language Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score +msgid "Companyweb Score" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score_enable +msgid "Companyweb Score Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate +msgid "Companyweb Start Date" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate_enable +msgid "Companyweb Start Date Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_street +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_street +msgid "Companyweb Street" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable +msgid "Companyweb Subject to VAT" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable_enable +msgid "Companyweb Subject to VAT Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_tab +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_tab +msgid "Companyweb Tab Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover +msgid "Companyweb Turnover" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover_unset +msgid "Companyweb Turnover Unset" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report +msgid "Companyweb Url Report" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report_enable +msgid "Companyweb Url Report Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings +msgid "Companyweb Warnings" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings_enable +msgid "Companyweb Warnings Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_currency_id +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_currency_id +msgid "Companyweb currency" +msgstr "" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb status : {status} : {message} " +msgstr "" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_partner +msgid "Contact" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Copy Address" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_uid +msgid "Created by" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_date +msgid "Created on" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit Info" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail link" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__display_name +msgid "Display Name" +msgstr "" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_download +msgid "Dowload Companyweb Data" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "End date" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Enhance" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Equity" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Established" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Follow this link" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Global" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Gross margin" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Health barometer" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__id +msgid "ID" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Last Update" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_date +msgid "Last Updated on" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Legal form" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Name" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Preferred languages" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Profit/Loss of the book year" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Save" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Status" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Subject to VAT" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Turnover" +msgstr "" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_users +msgid "User" +msgstr "" + +#. module: companyweb_base +#: model:ir.module.category,description:companyweb_base.companyweb +msgid "User access level for then Companyweb module" +msgstr "" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_view +msgid "View Companyweb Data" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Warnings" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "https://www.companyweb.be" +msgstr "" diff --git a/companyweb_base/i18n/es.po b/companyweb_base/i18n/es.po new file mode 100644 index 000000000..d1aad2eb0 --- /dev/null +++ b/companyweb_base/i18n/es.po @@ -0,0 +1,638 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * companyweb_base +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2024-02-16 22:35+0000\n" +"Last-Translator: Ivorra78 \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: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "" +"
\n" +" Click here to create your login information: " +msgstr "" +"
\n" +" Haga clic aquí para crear su información de inicio " +"de sesión: " + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "" +"\n" +" \n" +" Seat\n" +" \n" +" " +msgstr "" +"\n" +" \n" +" Asiento\n" +" \n" +" " + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Address" +msgstr "Dirección" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_abstract +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_base +msgid "Ask for Companyweb login & password" +msgstr "Solicite el nombre de usuario y la contraseña de Companyweb" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Average number of staff in FTE" +msgstr "Número medio de empleados en FTE" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Book year" +msgstr "Año del libro" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Cancel" +msgstr "Cancelar" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Closing date of the book year" +msgstr "Fecha de cierre del año del libro" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Commercial report" +msgstr "Informe comercial" + +#. module: companyweb_base +#: model:ir.module.category,name:companyweb_base.companyweb +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Companyweb" +msgstr "Web de la compañía" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb : You don't have access" +msgstr "Web de la compañía: Usted no tiene acceso" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_address_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_address_enable +msgid "Companyweb Address Enabled" +msgstr "Dirección web de la empresa habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte +msgid "Companyweb Average number of staff in FTE" +msgstr "Web de la compañía plantilla media en FTE" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte_unset +msgid "Companyweb Average number of staff in FTE Unset" +msgstr "Companíaweb Promedio de empleados en FTE sin configurar" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_data_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_data_enable +msgid "Companyweb Balance Data Enabled" +msgstr "Datos de saldo de Compañía web habilitados" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year +msgid "Companyweb Balance Year" +msgstr "Balance Año Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year_unset +msgid "Companyweb Balance Year Unset" +msgstr "Balance Año Compañíaweb no establecido" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image +msgid "Companyweb Barometer Image" +msgstr "Imagen del barómetro Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_unset +msgid "Companyweb Barometer Image Unset" +msgstr "Imagen del barómetro Compañíaweb no establecido" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_tag +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_tag +msgid "Companyweb Barometer Image tag" +msgstr "Etiqueta de imagen del barómetro Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_address +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_address +msgid "Companyweb Button Address Enabled" +msgstr "Botón Dirección web de la empresa habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_enhance +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_enhance +msgid "Companyweb Button Enhance Enabled" +msgstr "Mejora del botón Compañíaweb habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_city +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_city +msgid "Companyweb City" +msgstr "Ciudad de Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date +msgid "Companyweb Closed Date" +msgstr "Fecha de cierre de Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date_unset +msgid "Companyweb Closed Date Unset" +msgstr "Fecha de cierre de Compañíaweb sin establecer" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus +msgid "Companyweb Company Status" +msgstr "Compañíaweb Estado de la compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_enable +msgid "Companyweb Company Status Enabled" +msgstr "Compañíaweb Estado de la compañía habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_code +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_code +msgid "Companyweb Company StatusCode" +msgstr "Compañíaweb Código de estado de la compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_country +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_country +msgid "Companyweb Country" +msgstr "País de Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit +msgid "Companyweb Credit limit" +msgstr "Límite de crédito de la compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_enable +msgid "Companyweb Credit limit Enabled" +msgstr "Límite de crédito de la compañíaweb habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info +msgid "Companyweb Credit limit Info" +msgstr "Información de límite de crédito de la compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info_unset +msgid "Companyweb Credit limit Info Unset" +msgstr "Información de límite de crédito de la compañíaweb no establecida" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_unset +msgid "Companyweb Credit limit Unset" +msgstr "Límite de crédito de la compañíaweb no establecido" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url +msgid "Companyweb Detailed Report" +msgstr "Iforme detallado de la compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_enable +msgid "Companyweb Detailed Report Enabled" +msgstr "Iforme detallado de la compañíaweb habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate +msgid "Companyweb End Date" +msgstr "Fecha final de Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate_enable +msgid "Companyweb End date Enabled" +msgstr "Fecha final de compañíaweb habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital +msgid "Companyweb Equity Capital" +msgstr "Capital social de Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital_unset +msgid "Companyweb Equity Capital Unset" +msgstr "Capital social de Compañíaweb no establecido" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result +msgid "Companyweb Fiscal Year Profit/Loss (+/-)" +msgstr "Compañíaweb Ganancias/pérdidas del año fiscal (+/-)" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result_unset +msgid "Companyweb Fiscal Year Profit/Loss (+/-) Unset" +msgstr "Compañíaweb Ganancias/pérdidas del año fiscal (+/-) no establecido" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue +msgid "Companyweb Gross Margin (+/-)" +msgstr "Margen bruto Compañíaweb (+/-)" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue_unset +msgid "Companyweb Gross Margin (+/-) Unset" +msgstr "Margen bruto Compañíaweb (+/-) no establecido" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form +msgid "Companyweb Juridical Form" +msgstr "Forma jurídica de la Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form_enable +msgid "Companyweb Juridical Form Enabled" +msgstr "Forma jurídica de la Compañíaweb habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_lastupdate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_lastupdate +msgid "Companyweb Last Update" +msgstr "Última actualización de la compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_login +msgid "Companyweb Login" +msgstr "Iniciar sesión en la Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name +msgid "Companyweb Name" +msgstr "Nombre de la compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name_enable +msgid "Companyweb Name Enabled" +msgstr "Nombre de la compañíaweb habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_password +msgid "Companyweb Password" +msgstr "Contraseña de la Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_zip +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_zip +msgid "Companyweb Postal code" +msgstr "Código postal de la Compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang +msgid "Companyweb Preferred Language" +msgstr "Idioma preferido de la compañíaweb" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang_enable +msgid "Companyweb Preferred Language Enabled" +msgstr "Idioma preferido de la compañíaweb habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score +msgid "Companyweb Score" +msgstr "Puntuación de la web de la Compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score_enable +msgid "Companyweb Score Enabled" +msgstr "Puntuación de la web de la Compañía habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate +msgid "Companyweb Start Date" +msgstr "Fecha de inicio de la web de la Compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate_enable +msgid "Companyweb Start Date Enabled" +msgstr "Fecha de inicio de la web de la Compañía habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_street +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_street +msgid "Companyweb Street" +msgstr "Calle de la web de la Compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable +msgid "Companyweb Subject to VAT" +msgstr "Compañíaweb Sujeta a IVA" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable_enable +msgid "Companyweb Subject to VAT Enabled" +msgstr "Compañíaweb Sujeta a IVA habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_tab +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_tab +msgid "Companyweb Tab Enabled" +msgstr "Pestaña Compañíaweb habilitada" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover +msgid "Companyweb Turnover" +msgstr "Facturación de la web de la compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover_unset +msgid "Companyweb Turnover Unset" +msgstr "Facturación de la web de la compañía no establecida" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report +msgid "Companyweb Url Report" +msgstr "Informe sobre la url de la web de la compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report_enable +msgid "Companyweb Url Report Enabled" +msgstr "Informe sobre la url de la web de la compañía habilitado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings +msgid "Companyweb Warnings" +msgstr "Advertencias de la web de la compañía" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings_enable +msgid "Companyweb Warnings Enabled" +msgstr "Advertencias de la web de la compañía habilitadas" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_currency_id +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_currency_id +msgid "Companyweb currency" +msgstr "Divisa de la web de la compañía" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb status : {status} : {message} " +msgstr "estado de la web dela compañía :{status} : {message} " + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Copy Address" +msgstr "Copiar dirección" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_uid +msgid "Created by" +msgstr "Creado por" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_date +msgid "Created on" +msgstr "Creado el" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit" +msgstr "Límite de crédito" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit Info" +msgstr "Info de límite de crédito" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail" +msgstr "Detalle" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail link" +msgstr "Enlace detallado" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__display_name +msgid "Display Name" +msgstr "Mostrar Nombre" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_download +msgid "Dowload Companyweb Data" +msgstr "Descargar datos de la web de la compañía" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "End date" +msgstr "Fecha final" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Enhance" +msgstr "Mejorar" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Equity" +msgstr "Capital" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Established" +msgstr "Establecido" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Follow this link" +msgstr "Siga este enlace" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Global" +msgstr "Global" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Gross margin" +msgstr "Margen bruto" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Health barometer" +msgstr "Barómetro sanitario" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__id +msgid "ID" +msgstr "ID (identificación)" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Last Update" +msgstr "Última actualización" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_uid +msgid "Last Updated by" +msgstr "Actualizado por última vez por" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_date +msgid "Last Updated on" +msgstr "Última Actualización el" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Legal form" +msgstr "Forma jurídica" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Name" +msgstr "Nombre" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Preferred languages" +msgstr "Idiomas preferentes" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Profit/Loss of the book year" +msgstr "Beneficio/Pérdida del año del libro" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Save" +msgstr "Guardar" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Status" +msgstr "Estado" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Subject to VAT" +msgstr "Sujeto a IVA" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Turnover" +msgstr "Facturación" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_users +msgid "User" +msgstr "Usuario" + +#. module: companyweb_base +#: model:ir.module.category,description:companyweb_base.companyweb +msgid "User access level for then Companyweb module" +msgstr "Nivel de acceso de usuario para el módulo Compañíaweb" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_view +msgid "View Companyweb Data" +msgstr "Ver datos de la web de la compañía" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Warnings" +msgstr "Advertencias" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "https://www.companyweb.be" +msgstr "https://www.companyweb.be" + +#~ msgid "" +#~ "\n" +#~ " Seat\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ " Asiento\n" +#~ " " + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificación el" diff --git a/companyweb_base/i18n/fr.po b/companyweb_base/i18n/fr.po new file mode 100644 index 000000000..4ce98f8c5 --- /dev/null +++ b/companyweb_base/i18n/fr.po @@ -0,0 +1,637 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * companyweb_base +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2021-03-10 12:55+0000\n" +"PO-Revision-Date: 2021-03-11 12:55+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "" +"
\n" +" Click here to create your login information: " +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "" +"\n" +" \n" +" Seat\n" +" \n" +" " +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Address" +msgstr "Adresse" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_abstract +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_base +msgid "Ask for Companyweb login & password" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Average number of staff in FTE" +msgstr "Effectif moyen du personnel en FTE" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Book year" +msgstr "Exercice" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Cancel" +msgstr "Annuler" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Closing date of the book year" +msgstr "Date de clôture de l'exercice" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Commercial report" +msgstr "Rapport Commercial" + +#. module: companyweb_base +#: model:ir.module.category,name:companyweb_base.companyweb +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Companyweb" +msgstr "Companyweb" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb : You don't have access" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_address_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_address_enable +msgid "Companyweb Address Enabled" +msgstr "Companyweb Adresse Activée" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte +msgid "Companyweb Average number of staff in FTE" +msgstr "Companyweb Effectif moyen du personnel en FTE" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte_unset +msgid "Companyweb Average number of staff in FTE Unset" +msgstr "Companyweb Effectif moyen du personnel en FTE Non Défini" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_data_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_data_enable +msgid "Companyweb Balance Data Enabled" +msgstr "Companyweb Données Comptes annuels Activées" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year +msgid "Companyweb Balance Year" +msgstr "Companyweb Exercice" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year_unset +msgid "Companyweb Balance Year Unset" +msgstr "Companyweb Exercice Non Défini" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image +msgid "Companyweb Barometer Image" +msgstr "Companyweb Image Baromètre" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_unset +msgid "Companyweb Barometer Image Unset" +msgstr "Companyweb Image Baromètre Non Définie" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_tag +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_tag +msgid "Companyweb Barometer Image tag" +msgstr "Companyweb Balise Image Baromètre" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_address +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_address +msgid "Companyweb Button Address Enabled" +msgstr "Companyweb Boutton Adresse Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_enhance +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_enhance +msgid "Companyweb Button Enhance Enabled" +msgstr "Companyweb Boutton Enrichissement Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_city +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_city +msgid "Companyweb City" +msgstr "Companyweb Ville" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date +msgid "Companyweb Closed Date" +msgstr "Companyweb Date de clôture de l'exercice" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date_unset +msgid "Companyweb Closed Date Unset" +msgstr "ompanyweb Date de clôture de l'exercice Non Définie" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus +msgid "Companyweb Company Status" +msgstr "Companyweb Statut de la société" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_enable +msgid "Companyweb Company Status Enabled" +msgstr "Companyweb Statut de la société Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_code +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_code +msgid "Companyweb Company StatusCode" +msgstr "Companyweb Code du Statut de la société" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_country +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_country +msgid "Companyweb Country" +msgstr "Companyweb Pays" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit +msgid "Companyweb Credit limit" +msgstr "Companyweb Limites de crédit" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_enable +msgid "Companyweb Credit limit Enabled" +msgstr "Companyweb Limites de crédit Activés" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info +msgid "Companyweb Credit limit Info" +msgstr "Companyweb Informations Limites de crédit" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info_unset +msgid "Companyweb Credit limit Info Unset" +msgstr "Companyweb Informations Limites de crédit Non Définies" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_unset +msgid "Companyweb Credit limit Unset" +msgstr "Companyweb Limites de crédit Non Définies" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url +msgid "Companyweb Detailed Report" +msgstr "Companyweb Lien de détail" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_enable +msgid "Companyweb Detailed Report Enabled" +msgstr "Companyweb Lien de détail Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate +msgid "Companyweb End Date" +msgstr "Companyweb Date de fin" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate_enable +msgid "Companyweb End date Enabled" +msgstr "Companyweb Date de fin Activée" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital +msgid "Companyweb Equity Capital" +msgstr "Companyweb Capitaux propres" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital_unset +msgid "Companyweb Equity Capital Unset" +msgstr "Companyweb Capitaux propres Non Définis" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result +msgid "Companyweb Fiscal Year Profit/Loss (+/-)" +msgstr "Companyweb Bénéfice/Perte de l'exercice" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result_unset +msgid "Companyweb Fiscal Year Profit/Loss (+/-) Unset" +msgstr "Companyweb Bénéfice/Perte de l'exercice Non Défini" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue +msgid "Companyweb Gross Margin (+/-)" +msgstr "Companyweb Marge brute" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue_unset +msgid "Companyweb Gross Margin (+/-) Unset" +msgstr "Companyweb Marge brute Non Définie" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form +msgid "Companyweb Juridical Form" +msgstr "Companyweb Forme juridique" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form_enable +msgid "Companyweb Juridical Form Enabled" +msgstr "Companyweb Forme juridique Activée" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_lastupdate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_lastupdate +msgid "Companyweb Last Update" +msgstr "Companyweb Date de Dernière Mise à Jour" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_login +msgid "Companyweb Login" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name +msgid "Companyweb Name" +msgstr "Companyweb Nom" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name_enable +msgid "Companyweb Name Enabled" +msgstr "Companyweb Nom Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_password +msgid "Companyweb Password" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_zip +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_zip +msgid "Companyweb Postal code" +msgstr "Companyweb Code Postal" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang +msgid "Companyweb Preferred Language" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang_enable +msgid "Companyweb Preferred Language Enabled" +msgstr "Companyweb Langues préférées Activées" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score +msgid "Companyweb Score" +msgstr "Companyweb Score" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score_enable +msgid "Companyweb Score Enabled" +msgstr "Companyweb Score Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate +msgid "Companyweb Start Date" +msgstr "Companyweb Création" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate_enable +msgid "Companyweb Start Date Enabled" +msgstr "Companyweb Création Activée" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_street +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_street +msgid "Companyweb Street" +msgstr "Companyweb Rue" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable +msgid "Companyweb Subject to VAT" +msgstr "Companyweb Assujettie à la TVA" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable_enable +msgid "Companyweb Subject to VAT Enabled" +msgstr "Companyweb Assujettie à la TVA Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_tab +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_tab +msgid "Companyweb Tab Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover +msgid "Companyweb Turnover" +msgstr "Companyweb Chiffre d'affaires" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover_unset +msgid "Companyweb Turnover Unset" +msgstr "Companyweb Chiffre d'affaires Non Défini" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report +msgid "Companyweb Url Report" +msgstr "Companyweb Rapport Commercial" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report_enable +msgid "Companyweb Url Report Enabled" +msgstr "Companyweb Rapport Commercial Activé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings +msgid "Companyweb Warnings" +msgstr "Companyweb Avertissements" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings_enable +msgid "Companyweb Warnings Enabled" +msgstr "Companyweb Avertissements Activés" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_currency_id +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_currency_id +msgid "Companyweb currency" +msgstr "Companyweb monnaie" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb status : {status} : {message} " +msgstr "" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_partner +msgid "Contact" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Copy Address" +msgstr "Copier l'adresse" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_uid +msgid "Created by" +msgstr "Créé par" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_date +msgid "Created on" +msgstr "Créé le" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit" +msgstr "Limites de crédit" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit Info" +msgstr "Limites de crédit informations" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail link" +msgstr "Lien de détail" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__display_name +msgid "Display Name" +msgstr "" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_download +msgid "Dowload Companyweb Data" +msgstr "Télécharger Données Companyweb" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "End date" +msgstr "Date de fin" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Enhance" +msgstr "Enrichir" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Equity" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Established" +msgstr "Capitaux propres" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Follow this link" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Global" +msgstr "Globale" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Gross margin" +msgstr "Marge brute" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Health barometer" +msgstr "Barometre de santé" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__id +msgid "ID" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Last Update" +msgstr "Date de dernière mise à jour" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_date +msgid "Last Updated on" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Legal form" +msgstr "Forme juridique" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Name" +msgstr "Nom" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Preferred languages" +msgstr "Langues préférées" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Profit/Loss of the book year" +msgstr "Bénéfice/Perte de l'exercice" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Save" +msgstr "Sauver" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Status" +msgstr "Statut" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Subject to VAT" +msgstr "Assujettie à la TVA" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Turnover" +msgstr "Chiffre d'affaires" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_users +msgid "User" +msgstr "" + +#. module: companyweb_base +#: model:ir.module.category,description:companyweb_base.companyweb +msgid "User access level for then Companyweb module" +msgstr "" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_view +msgid "View Companyweb Data" +msgstr "Voir les données de Companyweb" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Warnings" +msgstr "Avertissements" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "https://www.companyweb.be" +msgstr "" + +#~ msgid "" +#~ "\n" +#~ " Seat\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ " Siège\n" +#~ " " + +#~ msgid "Last Modified on" +#~ msgstr "Date de dernière modification" + +#, python-format +#~ msgid "Companyweb Enhance OK" +#~ msgstr "Companyweb Enrichissement OK" + +#~ msgid "Companyweb Base" +#~ msgstr "Companyweb Base" diff --git a/companyweb_base/i18n/nl.po b/companyweb_base/i18n/nl.po new file mode 100644 index 000000000..fe992a083 --- /dev/null +++ b/companyweb_base/i18n/nl.po @@ -0,0 +1,629 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * companyweb_base +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0+e\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "" +"
\n" +" Click here to create your login information: " +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "" +"\n" +" \n" +" Seat\n" +" \n" +" " +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Address" +msgstr "Adres" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_abstract +#: model:ir.model,name:companyweb_base.model_companyweb_base_credential_wizard_base +msgid "Ask for Companyweb login & password" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Average number of staff in FTE" +msgstr "Gemiddeld personeelsbestand in FTE" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Book year" +msgstr "Jaarrekeningen" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Cancel" +msgstr "Annuleren" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Closing date of the book year" +msgstr "Afsluitingsdatum van het boekjaar" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Commercial report" +msgstr "Handelsrapport" + +#. module: companyweb_base +#: model:ir.module.category,name:companyweb_base.companyweb +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Companyweb" +msgstr "" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb : You don't have access" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_address_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_address_enable +msgid "Companyweb Address Enabled" +msgstr "Companyweb Adres ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte +msgid "Companyweb Average number of staff in FTE" +msgstr "Companyweb Gemiddeld personeelsbestand in FTE " + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_average_fte_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_average_fte_unset +msgid "Companyweb Average number of staff in FTE Unset" +msgstr "Companyweb Gemiddeld personeelsbestand in FTE uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_data_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_data_enable +msgid "Companyweb Balance Data Enabled" +msgstr "Companyweb Jaarrekeningen ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year +msgid "Companyweb Balance Year" +msgstr "Companyweb Boekjaar" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_balance_year_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_balance_year_unset +msgid "Companyweb Balance Year Unset" +msgstr "Companyweb Boekjaar uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image +msgid "Companyweb Barometer Image" +msgstr "Companyweb Gezondheidsbarometer beeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_unset +msgid "Companyweb Barometer Image Unset" +msgstr "Companyweb Gezondheidsbarometer beeld uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_image_tag +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_image_tag +msgid "Companyweb Barometer Image tag" +msgstr "Companyweb Gezondheidsbarometer beeld label" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_address +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_address +msgid "Companyweb Button Address Enabled" +msgstr "Companyweb Adres Knop ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_button_enhance +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_button_enhance +msgid "Companyweb Button Enhance Enabled" +msgstr "ompanyweb knop verhogen ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_city +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_city +msgid "Companyweb City" +msgstr "Companyweb Plaats" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date +msgid "Companyweb Closed Date" +msgstr "Companyweb Afsluitingsdatum van het boekjaar" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_closed_date_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_closed_date_unset +msgid "Companyweb Closed Date Unset" +msgstr "Companyweb Afsluitingsdatum van het boekjaar uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus +msgid "Companyweb Company Status" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_enable +msgid "Companyweb Company Status Enabled" +msgstr "Companyweb Status Bedrijf ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_companystatus_code +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_companystatus_code +msgid "Companyweb Company StatusCode" +msgstr "Companyweb Status Bedrijf Code" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_country +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_country +msgid "Companyweb Country" +msgstr "Companyweb Land" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit +msgid "Companyweb Credit limit" +msgstr "Companyweb Kredietlimiet" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_enable +msgid "Companyweb Credit limit Enabled" +msgstr "Companyweb Kredietlimiet ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info +msgid "Companyweb Credit limit Info" +msgstr "Companyweb Kredietlimiet Informatie" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_info_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_info_unset +msgid "Companyweb Credit limit Info Unset" +msgstr "Companyweb Kredietlimiet Informatie uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_creditLimit_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_creditLimit_unset +msgid "Companyweb Credit limit Unset" +msgstr "Companyweb Kredietlimiet uitgeschakeld " + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url +msgid "Companyweb Detailed Report" +msgstr "Companyweb Detail link" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_enable +msgid "Companyweb Detailed Report Enabled" +msgstr "Companyweb Detail link ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate +msgid "Companyweb End Date" +msgstr "Companyweb Einddatum" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_endDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_endDate_enable +msgid "Companyweb End date Enabled" +msgstr "Companyweb Einddatum ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital +msgid "Companyweb Equity Capital" +msgstr "Companyweb Eigen vermogen" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_equityCapital_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_equityCapital_unset +msgid "Companyweb Equity Capital Unset" +msgstr "Companyweb Eigen vermogen uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result +msgid "Companyweb Fiscal Year Profit/Loss (+/-)" +msgstr "Companyweb Winst/Verlies van het boekjaar" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_result_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_result_unset +msgid "Companyweb Fiscal Year Profit/Loss (+/-) Unset" +msgstr "Companyweb Winst/Verlies van het boekjaar uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue +msgid "Companyweb Gross Margin (+/-)" +msgstr "Companyweb Brutomarge" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_addedValue_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_addedValue_unset +msgid "Companyweb Gross Margin (+/-) Unset" +msgstr "Companyweb Brutomarge uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form +msgid "Companyweb Juridical Form" +msgstr "Companyweb Vorm" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_jur_form_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_jur_form_enable +msgid "Companyweb Juridical Form Enabled" +msgstr "Companyweb Vorm ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_lastupdate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_lastupdate +msgid "Companyweb Last Update" +msgstr "Companyweb Laatste Bijwerken" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_login +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_login +msgid "Companyweb Login" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name +msgid "Companyweb Name" +msgstr "Companyweb Naam" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_name_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_name_enable +msgid "Companyweb Name Enabled" +msgstr "Companyweb Naam ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_abstract__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__cweb_password +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_password +msgid "Companyweb Password" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_zip +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_zip +msgid "Companyweb Postal code" +msgstr "Companyweb Postcode" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang +msgid "Companyweb Preferred Language" +msgstr "Companyweb Voorkeurstalen" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_prefLang_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_prefLang_enable +msgid "Companyweb Preferred Language Enabled" +msgstr "Companyweb Voorkeurstalen ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score +msgid "Companyweb Score" +msgstr "Companyweb Gezondheidsbarometer" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_score_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_score_enable +msgid "Companyweb Score Enabled" +msgstr "Companyweb Gezondheidsbarometer ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate +msgid "Companyweb Start Date" +msgstr "Companyweb Oprichting" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_startDate_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_startDate_enable +msgid "Companyweb Start Date Enabled" +msgstr "Companyweb Oprichting ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_street +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_street +msgid "Companyweb Street" +msgstr "Companyweb Straat" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable +msgid "Companyweb Subject to VAT" +msgstr "Companyweb Onderworpen aan BTW" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_vat_liable_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_vat_liable_enable +msgid "Companyweb Subject to VAT Enabled" +msgstr "Companyweb Onderworpen aan BTW ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_show_tab +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_show_tab +msgid "Companyweb Tab Enabled" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover +msgid "Companyweb Turnover" +msgstr "Companyweb Omzet" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_turnover_unset +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_turnover_unset +msgid "Companyweb Turnover Unset" +msgstr "Companyweb Omzet uitgeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report +msgid "Companyweb Url Report" +msgstr "Companyweb Handelsrapport" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_url_report_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_url_report_enable +msgid "Companyweb Url Report Enabled" +msgstr "Companyweb Handelsrapport ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings +msgid "Companyweb Warnings" +msgstr "Companyweb Waarschuwingen" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_warnings_enable +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_warnings_enable +msgid "Companyweb Warnings Enabled" +msgstr "Companyweb Waarschuwingen ingeschakeld" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_res_partner__cweb_currency_id +#: model:ir.model.fields,field_description:companyweb_base.field_res_users__cweb_currency_id +msgid "Companyweb currency" +msgstr "Companyweb muntsoort" + +#. module: companyweb_base +#. odoo-python +#: code:addons/companyweb_base/models/res_partner.py:0 +#, python-format +msgid "Companyweb status : {status} : {message} " +msgstr "" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_partner +msgid "Contact" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Copy Address" +msgstr "Adres Kopiëren" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_uid +msgid "Created by" +msgstr "Gemaakt door" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__create_date +msgid "Created on" +msgstr "Gemaakt Op" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit" +msgstr "Kredietlimiet" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Credit limit Info" +msgstr "Kredietlimiet" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Detail link" +msgstr "Detail link" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__display_name +msgid "Display Name" +msgstr "" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_download +msgid "Dowload Companyweb Data" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "End date" +msgstr "Einddatum" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Enhance" +msgstr "Verhogen" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Equity" +msgstr "Eigen vermogen" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Established" +msgstr "Oprichting" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Follow this link" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Global" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Gross margin" +msgstr "Brutomarge" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Health barometer" +msgstr "Gezondheidsbarometer" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__id +msgid "ID" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Last Update" +msgstr "Laatste Bijwerken" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: companyweb_base +#: model:ir.model.fields,field_description:companyweb_base.field_companyweb_base_credential_wizard_base__write_date +msgid "Last Updated on" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Legal form" +msgstr "Vorm" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Name" +msgstr "Naam" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Preferred languages" +msgstr "Voorkeurstalen" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Profit/Loss of the book year" +msgstr "Winst/Verlies van het boekjaar" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "Save" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Status" +msgstr "Status" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Subject to VAT" +msgstr "Onderworpen aan BTW" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Turnover" +msgstr "Omzet" + +#. module: companyweb_base +#: model:ir.model,name:companyweb_base.model_res_users +msgid "User" +msgstr "" + +#. module: companyweb_base +#: model:ir.module.category,description:companyweb_base.companyweb +msgid "User access level for then Companyweb module" +msgstr "" + +#. module: companyweb_base +#: model:res.groups,name:companyweb_base.cweb_view +msgid "View Companyweb Data" +msgstr "" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_partner_view +msgid "Warnings" +msgstr "Waarschuwingen" + +#. module: companyweb_base +#: model_terms:ir.ui.view,arch_db:companyweb_base.companyweb_credential_wizard +msgid "https://www.companyweb.be" +msgstr "" + +#~ msgid "" +#~ "\n" +#~ " Seat\n" +#~ " " +#~ msgstr "" +#~ "\n" +#~ " Zetel\n" +#~ " " + +#, python-format +#~ msgid "Companyweb Enhance OK" +#~ msgstr "Companyweb Verhogen OK" diff --git a/companyweb_base/models/__init__.py b/companyweb_base/models/__init__.py new file mode 100644 index 000000000..9de52ff76 --- /dev/null +++ b/companyweb_base/models/__init__.py @@ -0,0 +1,2 @@ +from . import res_users +from . import res_partner diff --git a/companyweb_base/models/res_partner.py b/companyweb_base/models/res_partner.py new file mode 100644 index 000000000..1c64562b7 --- /dev/null +++ b/companyweb_base/models/res_partner.py @@ -0,0 +1,559 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +import html +import logging +from datetime import datetime +from hashlib import sha1 + +import zeep + +from odoo import api, fields, models, tools +from odoo.exceptions import UserError + +_logger = logging.getLogger(__name__) + +# Companyweb is ok with those key being visible on github +SERVICE_INTEGRATOR_ID = "acsone" +SERVICE_INTEGRATOR_SECRET = "ECAB8ACF-9AE1-4E90-BD0D-05A1F47A3FE9" + + +class CompanywebPartner(models.Model): + _inherit = "res.partner" + cweb_currency_id = fields.Many2one( + "res.currency", string="Companyweb currency", readonly=True + ) + cweb_lastupdate = fields.Datetime("Companyweb Last Update", readonly=True) + cweb_name = fields.Char("Companyweb Name", readonly=True) + cweb_name_enable = fields.Boolean("Companyweb Name Enabled", readonly=True) + cweb_jur_form = fields.Char("Companyweb Juridical Form", readonly=True) + cweb_jur_form_enable = fields.Boolean( + "Companyweb Juridical Form Enabled", readonly=True + ) + cweb_companystatus = fields.Char("Companyweb Company Status", readonly=True) + cweb_companystatus_code = fields.Char( + "Companyweb Company StatusCode", readonly=True + ) + cweb_companystatus_enable = fields.Boolean( + "Companyweb Company Status Enabled", readonly=True + ) + cweb_street = fields.Char("Companyweb Street", readonly=True) + cweb_zip = fields.Char("Companyweb Postal code", readonly=True) + cweb_city = fields.Char("Companyweb City", readonly=True) + cweb_country = fields.Many2one( + "res.country", string="Companyweb Country", readonly=True + ) + cweb_address_enable = fields.Boolean("Companyweb Address Enabled", readonly=True) + + cweb_creditLimit = fields.Float("Companyweb Credit limit", readonly=True) + cweb_creditLimit_unset = fields.Boolean( + "Companyweb Credit limit Unset", readonly=True + ) + cweb_creditLimit_enable = fields.Boolean( + "Companyweb Credit limit Enabled", readonly=True + ) + cweb_creditLimit_info = fields.Char("Companyweb Credit limit Info", readonly=True) + cweb_creditLimit_info_unset = fields.Boolean( + "Companyweb Credit limit Info Unset", readonly=True + ) + + cweb_startDate = fields.Date("Companyweb Start Date", readonly=True) + cweb_startDate_enable = fields.Boolean( + "Companyweb Start Date Enabled", readonly=True + ) + cweb_endDate = fields.Date("Companyweb End Date", readonly=True) + cweb_endDate_enable = fields.Boolean("Companyweb End date Enabled", readonly=True) + cweb_score = fields.Char("Companyweb Score", readonly=True) + cweb_score_enable = fields.Boolean("Companyweb Score Enabled", readonly=True) + + cweb_image_tag = fields.Html( + "Companyweb Barometer Image tag", compute="_compute_cweb_image", readonly=True + ) + cweb_image = fields.Char("Companyweb Barometer Image", readonly=True) + cweb_image_unset = fields.Boolean("Companyweb Barometer Image Unset", readonly=True) + + cweb_warnings = fields.Html("Companyweb Warnings", readonly=True) + cweb_warnings_enable = fields.Boolean("Companyweb Warnings Enabled", readonly=True) + cweb_url = fields.Char("Companyweb Detailed Report", readonly=True) + cweb_url_enable = fields.Boolean( + "Companyweb Detailed Report Enabled", readonly=True + ) + cweb_url_report = fields.Char("Companyweb Url Report", readonly=True) + cweb_url_report_enable = fields.Boolean( + "Companyweb Url Report Enabled", readonly=True + ) + cweb_vat_liable = fields.Boolean("Companyweb Subject to VAT", readonly=True) + cweb_vat_liable_enable = fields.Boolean( + "Companyweb Subject to VAT Enabled", readonly=True + ) + cweb_balance_data_enable = fields.Boolean( + "Companyweb Balance Data Enabled", readonly=True + ) + cweb_balance_year = fields.Char("Companyweb Balance Year", readonly=True) + cweb_balance_year_unset = fields.Boolean( + "Companyweb Balance Year Unset", readonly=True + ) + cweb_closed_date = fields.Date("Companyweb Closed Date", readonly=True) + cweb_closed_date_unset = fields.Boolean( + "Companyweb Closed Date Unset", readonly=True + ) + cweb_equityCapital = fields.Float("Companyweb Equity Capital", readonly=True) + cweb_equityCapital_unset = fields.Boolean( + "Companyweb Equity Capital Unset", readonly=True + ) + cweb_average_fte = fields.Float( + "Companyweb Average number of staff in FTE", readonly=True + ) + cweb_average_fte_unset = fields.Boolean( + "Companyweb Average number of staff in FTE Unset", readonly=True + ) + cweb_addedValue = fields.Float("Companyweb Gross Margin (+/-)", readonly=True) + cweb_addedValue_unset = fields.Boolean( + "Companyweb Gross Margin (+/-) Unset", readonly=True + ) + cweb_turnover = fields.Float("Companyweb Turnover", readonly=True) + cweb_turnover_unset = fields.Boolean("Companyweb Turnover Unset", readonly=True) + cweb_result = fields.Float( + "Companyweb Fiscal Year Profit/Loss (+/-)", readonly=True + ) + cweb_result_unset = fields.Boolean( + "Companyweb Fiscal Year Profit/Loss (+/-) Unset", readonly=True + ) + cweb_prefLang = fields.Many2one( + "res.lang", string="Companyweb Preferred Language", readonly=True + ) + cweb_prefLang_enable = fields.Boolean( + "Companyweb Preferred Language Enabled", readonly=True + ) + + cweb_show_button_enhance = fields.Boolean( + "Companyweb Button Enhance Enabled", compute="_compute_cweb_show_button_enhance" + ) + cweb_show_button_address = fields.Boolean( + "Companyweb Button Address Enabled", compute="_compute_cweb_show_button_address" + ) + cweb_show_tab = fields.Boolean( + "Companyweb Tab Enabled", compute="_compute_cweb_cweb_show_tab" + ) + + @api.depends("cweb_image") + def _compute_cweb_image(self): + for rec in self: + if rec.cweb_image: + img_url = tools.misc.file_path( + f"companyweb_base/static/img/cweb_barometer/{rec.cweb_image}" + ) + if img_url: + img_url = ( + f"/companyweb_base/static/img/cweb_barometer/{rec.cweb_image}" + ) + rec.cweb_image_tag = f'' + else: + rec.cweb_image_tag = None + else: + rec.cweb_image_tag = None + + @api.depends("is_company", "vat") + def _compute_cweb_show_button_enhance(self): + """for the button to be show + the partner has to be a company and the partner.vat should be BE000000000""" + for rec in self: + if rec.is_company and rec.vat and rec.vat.startswith("BE"): + rec.cweb_show_button_enhance = True + else: + rec.cweb_show_button_enhance = False + + @api.depends( + "cweb_address_enable", + "cweb_street", + "cweb_zip", + "cweb_city", + "cweb_country", + ) + def _compute_cweb_show_button_address(self): + """for the button to be show + the partner has have cweb_address enabled and data for the address field""" + for rec in self: + if ( + rec.cweb_address_enable + and rec.cweb_street + and rec.cweb_zip + and rec.cweb_city + and rec.cweb_country + ): + rec.cweb_show_button_address = True + else: + rec.cweb_show_button_address = False + + @api.depends( + "cweb_name_enable", + "cweb_jur_form_enable", + "cweb_address_enable", + "cweb_creditLimit_enable", + "cweb_startDate_enable", + "cweb_endDate_enable", + "cweb_score_enable", + "cweb_warnings_enable", + "cweb_url_enable", + "cweb_vat_liable_enable", + "cweb_balance_data_enable", + "cweb_prefLang_enable", + "cweb_companystatus_enable", + "cweb_url_report_enable", + ) + def _compute_cweb_cweb_show_tab(self): + """for the tab with data to be shown + at least one of the field _enable has to be true""" + for rec in self: + if ( + rec.cweb_name_enable + or rec.cweb_jur_form_enable + or rec.cweb_address_enable + or rec.cweb_creditLimit_enable + or rec.cweb_startDate_enable + or rec.cweb_endDate_enable + or rec.cweb_score_enable + or rec.cweb_warnings_enable + or rec.cweb_url_enable + or rec.cweb_vat_liable_enable + or rec.cweb_balance_data_enable + or rec.cweb_prefLang_enable + or rec.cweb_companystatus_enable + or rec.cweb_url_report_enable + ): + rec.cweb_show_tab = True + else: + rec.cweb_show_tab = False + + @api.model + def _cweb_create_hash(self, login, password, secret): + """method used for the API call + it generates the 'loginhash' needed by the API""" + today = datetime.now().strftime("%Y%m%d") + text = (today + login + password + secret).lower() + return sha1(text.encode("utf-8")).hexdigest() + + def _cweb_get_country(self, country_code): + country = self.env["res.country"].search([("code", "=", country_code.upper())]) + return country + + def _cweb_populate_general(self, cweb_response): + self.cweb_lastupdate = datetime.now() + self.cweb_name_enable = cweb_response["CompanyName"]["IsEnabled"] + cweb_has_name_value = cweb_response["CompanyName"]["Value"] + if self.cweb_name_enable and cweb_has_name_value: + self.cweb_name = cweb_has_name_value + else: + self.cweb_name = None + + self.cweb_jur_form_enable = cweb_response["LegalForm"]["IsEnabled"] + cweb_has_jur_form_value = cweb_response["LegalForm"]["Value"] + if self.cweb_jur_form_enable and cweb_has_jur_form_value: + self.cweb_jur_form = cweb_has_jur_form_value["Abbreviation"] + else: + self.cweb_jur_form = None + + self.cweb_prefLang_enable = cweb_response["PreferredLanguages"]["IsEnabled"] + cweb_has_prefLang_value = cweb_response["PreferredLanguages"]["Value"] + if self.cweb_prefLang_enable and cweb_has_prefLang_value: + cweb_lang = cweb_response["PreferredLanguages"]["Value"]["LanguageString"] + lang = ( + self.env["res.lang"] + .with_context(active_test=False) + .search([("iso_code", "=", cweb_lang)]) + ) + self.cweb_prefLang = lang + else: + self.cweb_prefLang = None + + self.cweb_companystatus_enable = cweb_response["CompanyStatus"]["IsEnabled"] + cweb_has_companystatus_value = cweb_response["CompanyStatus"]["Value"] + if self.cweb_companystatus_enable and cweb_has_companystatus_value: + self.cweb_companystatus = cweb_has_companystatus_value["Info"] + self.cweb_companystatus_code = cweb_has_companystatus_value["Code"] + else: + self.cweb_companystatus = None + self.cweb_companystatus_code = None + + self.cweb_vat_liable_enable = cweb_response["VatEnabled"]["IsEnabled"] + cweb_has_vat_liable_value = cweb_response["VatEnabled"]["Value"] + if self.cweb_vat_liable_enable and cweb_has_vat_liable_value: + self.cweb_vat_liable = cweb_has_vat_liable_value + else: + self.cweb_vat_liable = None + + def _cweb_populate_address(self, cweb_response): + self.cweb_address_enable = cweb_response["Address"]["IsEnabled"] + cweb_has_address_value = cweb_response["Address"]["Value"] + if self.cweb_address_enable and cweb_has_address_value: + self.cweb_street = cweb_has_address_value["Line1"] + self.cweb_zip = cweb_has_address_value["PostalCode"] + self.cweb_city = cweb_has_address_value["City"] + self.cweb_country = self._cweb_get_country( + cweb_has_address_value["CountryCode"] + ) + else: + self.cweb_street = None + self.cweb_zip = None + self.cweb_city = None + self.cweb_country = None + + def _cweb_populate_balans(self, cweb_response): + self.cweb_balance_data_enable = cweb_response["Balances"]["IsEnabled"] + cweb_has_balance_value = cweb_response["Balances"]["Value"] + if self.cweb_balance_data_enable and cweb_has_balance_value: + currency = self.env["res.currency"].search([("name", "=", "EUR")]) + self.cweb_currency_id = currency + self.cweb_balance_year = cweb_has_balance_value["Balans"][0]["BookYear"] + self.cweb_balance_year_unset = True + balans_data = cweb_has_balance_value["Balans"][0]["BalansData"][ + "BalansData" + ] + for data in balans_data: + if data["Key"] == "CloseDate": + try: + self.cweb_closed_date = datetime.strptime( + str(data["Value"]), "%Y-%m-%d" + ) + except ValueError: + self.cweb_closed_date = None + self.cweb_closed_date_unset = False + if data["Key"] == "Rub10_15": + value = data["Value"] + self._cweb_set_equityCapital_data(value) + if data["Key"] == "Rub70": + value = data["Value"] + self._cweb_set_turnover_date(value) + if data["Key"] == "Rub9087": + value = data["Value"] + self._cweb_set_average_fte_data(value) + if data["Key"] == "Rub9904": + value = data["Value"] + self._cweb_set_addedValue_data(value) + if data["Key"] == "Rub9800": + value = data["Value"] + self._cweb_set_result_data(value) + + elif self.cweb_balance_data_enable and not cweb_has_balance_value: + self._cweb_unset_balans_date() + self._cweb_empty_balans_data() + else: + self._cweb_empty_balans_data() + + def _cweb_set_equityCapital_data(self, value): + if value or value == 0: + self.cweb_equityCapital = float(value) + self.cweb_equityCapital_unset = True + else: + self.cweb_equityCapital_unset = False + + def _cweb_set_turnover_date(self, value): + if value or value == 0: + self.cweb_turnover_unset = True + self.cweb_turnover = float(value) + else: + self.cweb_turnover_unset = False + + def _cweb_set_average_fte_data(self, value): + if value or value == 0: + self.cweb_average_fte_unset = True + self.cweb_average_fte = float(value) + else: + self.cweb_average_fte_unset = False + + def _cweb_set_addedValue_data(self, value): + if value or value == 0: + self.cweb_addedValue = float(value) + self.cweb_addedValue_unset = True + else: + self.cweb_addedValue_unset = False + + def _cweb_set_result_data(self, value): + if value or value == 0: + self.cweb_result = float(value) + self.cweb_result_unset = True + else: + self.cweb_result_unset = False + + def _cweb_unset_balans_date(self): + self.cweb_closed_date_unset = False + self.cweb_equityCapital_unset = False + self.cweb_turnover_unset = False + self.cweb_average_fte_unset = False + self.cweb_addedValue_unset = False + self.cweb_result_unset = False + + def _cweb_empty_balans_data(self): + self.cweb_closed_date = False + self.cweb_equityCapital = False + self.cweb_turnover = False + self.cweb_average_fte = False + self.cweb_addedValue = False + self.cweb_result = False + self.cweb_balance_year = False + + def _cweb_populate_url(self, cweb_response): + self.cweb_url_enable = cweb_response["DetailUrl"]["IsEnabled"] + cweb_has_url_value = cweb_response["DetailUrl"]["Value"] + if self.cweb_url_enable and cweb_has_url_value: + self.cweb_url = cweb_has_url_value + else: + self.cweb_url = None + self.cweb_url_report_enable = cweb_response["ReportUrl"]["IsEnabled"] + + cweb_has_url_report_value = cweb_response["ReportUrl"]["Value"] + if self.cweb_url_report_enable and cweb_has_url_report_value: + self.cweb_url_report = cweb_has_url_report_value + else: + self.cweb_url_report = None + + def _cweb_populate_dates(self, cweb_response): + self.cweb_startDate_enable = cweb_response["StartDate"]["IsEnabled"] + cweb_has_startDate_value = cweb_response["StartDate"]["Value"] + if self.cweb_startDate_enable and cweb_has_startDate_value: + try: + self.cweb_startDate = datetime.strptime( + str(cweb_response["StartDate"]["Value"]), "%Y%m%d" + ) + except ValueError: + self.cweb_startDate = None + else: + self.cweb_startDate = None + + self.cweb_endDate_enable = cweb_response["EndDate"]["IsEnabled"] + cweb_has_endDate_value = cweb_response["EndDate"]["Value"] + if self.cweb_endDate_enable and cweb_has_endDate_value: + try: + self.cweb_endDate = datetime.strptime( + str(cweb_response["EndDate"]["Value"]), "%Y%m%d" + ) + except ValueError: + self.cweb_endDate = False + else: + self.cweb_endDate = None + + def _cweb_populate_score(self, cweb_response): + self.cweb_score_enable = cweb_response["Score"]["IsEnabled"] + cweb_has_score_value = cweb_response["Score"]["Value"] + if self.cweb_score_enable and cweb_has_score_value: + self.cweb_score = cweb_response["Score"]["Value"]["ScoreAsInt"] + cweb_has_cweb_image_value = cweb_response["Score"]["Value"]["ScoreImage"] + if cweb_has_cweb_image_value: + self.cweb_image_unset = True + self.cweb_image = cweb_response["Score"]["Value"]["ScoreImage"] + else: + self.cweb_image_unset = False + else: + self.cweb_score = None + self.cweb_image = None + self.cweb_image_unset = False + + def _cweb_populate_data(self, cweb_response): + self.cweb_creditLimit_enable = cweb_response["CreditLimit"]["IsEnabled"] + cweb_has_creditLimit_value = cweb_response["CreditLimit"]["Value"] + if self.cweb_creditLimit_enable and cweb_has_creditLimit_value: + limit = cweb_response["CreditLimit"]["Value"]["Limit"] + if limit or limit == 0: + self.cweb_creditLimit = limit + self.cweb_creditLimit_unset = True + else: + self.cweb_creditLimit_unset = False + self.cweb_creditLimit = None + if cweb_response["CreditLimit"]["Value"]["Info"]: + self.cweb_creditLimit_info = cweb_response["CreditLimit"]["Value"][ + "Info" + ] + self.cweb_creditLimit_info_unset = True + else: + self.cweb_creditLimit_info_unset = False + else: + self.cweb_creditLimit = None + self.cweb_creditLimit_info = None + self.cweb_creditLimit_info_unset = False + self.cweb_creditLimit_unset = False + + self.cweb_warnings_enable = cweb_response["WarningsOverview"]["IsEnabled"] + cweb_has_warnings_value = cweb_response["WarningsOverview"]["Value"] + if self.cweb_warnings_enable and cweb_has_warnings_value: + if cweb_has_warnings_value["Warnings"]: + self.cweb_warnings = "" + for rec in cweb_has_warnings_value["Warnings"]["string"]: + self.cweb_warnings += "- " + html.escape(rec) + "
" + else: + self.cweb_warnings = None + elif self.cweb_warnings_enable: + self.cweb_warnings = None + else: + self.cweb_warnings = None + + def cweb_button_enhance(self): + """Main logic of the module + Validate that the logged in user has credentials + make the API CALL + based on status make decision + When status is ok -> populate fields""" + if not self.env.user.has_group("companyweb_base.cweb_download"): + raise UserError(self.env._("Companyweb : You don't have access")) + user_login = self.env.user.cweb_login + user_password = self.env.user.cweb_password + user_lang = self.env.context.get("lang")[:2].upper() + if user_lang not in ["FR", "NL"]: + user_lang = "EN" + + if not user_login or not user_password: + return self._cweb_call_wizard_credentials("Enter Companyweb credentials") + IrConfigParameter = self.env["ir.config_parameter"].sudo() + url_param = IrConfigParameter.get_param("companyweb.alacarte", "") + client = zeep.Client(url_param) + r = client.service.GetCompanyByVat( + dict( + CompanyWebLogin=user_login, + CompanyWebPassword=user_password, + ServiceIntegrator=SERVICE_INTEGRATOR_ID, + LoginHash=self._cweb_create_hash( + user_login, user_password, SERVICE_INTEGRATOR_SECRET + ), + Language=user_lang, + VatNumber=self.vat, + ) + ) + if r["StatusCode"] in [101, 302]: + return self._cweb_call_wizard_credentials("Enter Companyweb credentials") + elif r["StatusCode"] != 0: + raise UserError( + self.env._("Companyweb status : {status} : {message} ").format( + status=r["StatusCode"], message=r["StatusMessage"] + ) + ) + + cweb_response = r["CompanyResponse"] + self._cweb_populate_general(cweb_response) + self._cweb_populate_address(cweb_response) + self._cweb_populate_balans(cweb_response) + self._cweb_populate_url(cweb_response) + self._cweb_populate_dates(cweb_response) + self._cweb_populate_score(cweb_response) + self._cweb_populate_data(cweb_response) + + def cweb_button_copy_address(self): + if not self.env.user.has_group("companyweb_base.cweb_view"): + raise UserError(self.env._("Companyweb : You don't have access")) + self.street = self.cweb_street + self.city = self.cweb_city + self.zip = self.cweb_zip + self.country_id = self.cweb_country + self.street2 = None + self.state_id = None + + @api.model + def _cweb_call_wizard_credentials(self, wizard_name): + wizard_form = self.env.ref("companyweb_base.companyweb_credential_wizard") + return { + "name": wizard_name, + "type": "ir.actions.act_window", + "view_type": "form", + "view_mode": "form", + "res_model": "companyweb_base.credential_wizard_base", + "view_id": wizard_form.id, + "target": "new", + "context": self.env.context, + } diff --git a/companyweb_base/models/res_users.py b/companyweb_base/models/res_users.py new file mode 100644 index 000000000..5485ca9dc --- /dev/null +++ b/companyweb_base/models/res_users.py @@ -0,0 +1,16 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + +from odoo.addons.base.models import res_users + +res_users.USER_PRIVATE_FIELDS.append("cweb_login") +res_users.USER_PRIVATE_FIELDS.append("cweb_password") + + +class CompanyWebUser(models.Model): + _inherit = "res.users" + + # If empty, the user will be prompted for these fields via a wizard. + cweb_login = fields.Char("Companyweb Login") + cweb_password = fields.Char("Companyweb Password") diff --git a/companyweb_base/pyproject.toml b/companyweb_base/pyproject.toml new file mode 100644 index 000000000..4231d0ccc --- /dev/null +++ b/companyweb_base/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/companyweb_base/readme/CONTRIBUTORS.md b/companyweb_base/readme/CONTRIBUTORS.md new file mode 100644 index 000000000..70da8120d --- /dev/null +++ b/companyweb_base/readme/CONTRIBUTORS.md @@ -0,0 +1,3 @@ + - Xavier Bouquiaux \<\> + - Stéphane Bidoul \<\> + - Bert Van Groenendael \<\> diff --git a/companyweb_base/readme/CREDITS.md b/companyweb_base/readme/CREDITS.md new file mode 100644 index 000000000..4789de6b4 --- /dev/null +++ b/companyweb_base/readme/CREDITS.md @@ -0,0 +1,12 @@ +This module has been originally developed by [ACSONE](https://acsone.eu) +for Odoo version 8. + +It was subsequently enhanced by Jacques-Etienne Baudoux (BCIM sprl). The +data model of that version has been preserved to facilitate porting. + +In 2021, the module was redeveloped under the current form, to support +the new Companyweb SOAP api. This development has been funded by +[Companyweb](https://www.companyweb.be). + + - Companyweb \<\> + - Katrien Billen \<\> diff --git a/companyweb_base/readme/DESCRIPTION.md b/companyweb_base/readme/DESCRIPTION.md new file mode 100644 index 000000000..deecec6bc --- /dev/null +++ b/companyweb_base/readme/DESCRIPTION.md @@ -0,0 +1,27 @@ +www.companyweb.be + +Companyweb is the expert in company information in Belgium. + +This app provides insights into the financial health of Belgian +companies, directly from the Odoo Customer view. + +Enhance the Odoo partner with Companyweb data, with one click: + + - Name and address + - Status + - Health barometer + - Credit limit + - Bankruptcy risk warnings + - Key financial information (turnover, gross margin, profit/loss…) + - etc + +Copy the address from Companyweb to your Odoo partner address. + +With this valuable information you can personally evaluate each company +and know who you are doing business with. + +Try for free and get your credentials here: +www.companyweb.be/integrations/37/odoo + +Want to know how fast companies pay their invoices? Then also install +the second module from Companyweb: payment experience. diff --git a/companyweb_base/readme/HISTORY.md b/companyweb_base/readme/HISTORY.md new file mode 100644 index 000000000..00da1965a --- /dev/null +++ b/companyweb_base/readme/HISTORY.md @@ -0,0 +1,7 @@ +## 15.0.1.0.2 (2022-02-08) + +**Bugfixes** + + - The `Gross Margin` and `Fiscal Year Profit/Loss` field values were + mixed up. This is now fixed. + ([\#135](https://github.com/OCA/l10n-belgium/issues/135)) diff --git a/companyweb_base/readme/INSTALL.md b/companyweb_base/readme/INSTALL.md new file mode 100644 index 000000000..681ddf44e --- /dev/null +++ b/companyweb_base/readme/INSTALL.md @@ -0,0 +1,2 @@ +This module can be installed in the usual way. It depends on the OCA +`web_notify` module. diff --git a/companyweb_base/readme/USAGE.md b/companyweb_base/readme/USAGE.md new file mode 100644 index 000000000..73f6b32e4 --- /dev/null +++ b/companyweb_base/readme/USAGE.md @@ -0,0 +1,32 @@ +With this integration you get detailed information about a company based +on the VAT number of the company. + +This module comes with 2 security groups. + + - View Companyweb Data : can see the Companyweb data tab in contacts + - Download Companyweb Data : can actually enhance data + +Once your user has the correct permissions, open a partner that has a +belgian VAT number and click on the Companyweb button. + +![](https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_on_new_partner.png) + +If you don't see the Companyweb button, refresh your browser page and +check that the current user is in the correct Companyweb group. + +If your Companyweb credentials are not known in the system or have +changed, you will be shown a wizard to enter them. + +![](https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_get_credentials.png) + +If everything runs smoothly you'll see a confirmation popup in the upper +right corner of your screen. + +![](https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_success_message.png) + +You can now view the Companyweb information in the corresponding tab. + +![](https://raw.githubusercontent.com/OCA/l10n-belgium/16.0/companyweb_base/static/description/doc_companyweb_data.png) + +You can also use the "Copy Address" button to update the partner address +with the one obtained from Companyweb. diff --git a/companyweb_base/security/ir.model.access.csv b/companyweb_base/security/ir.model.access.csv new file mode 100644 index 000000000..df8fbbb19 --- /dev/null +++ b/companyweb_base/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink +cweb_downloader_right_wizard,cweb_downloader_right,model_companyweb_base_credential_wizard_base,cweb_download,1,1,1,1 diff --git a/companyweb_base/security/security.xml b/companyweb_base/security/security.xml new file mode 100644 index 000000000..44e641545 --- /dev/null +++ b/companyweb_base/security/security.xml @@ -0,0 +1,16 @@ + + + Companyweb + User access level for then Companyweb module + 20 + + + View Companyweb Data + + + + Dowload Companyweb Data + + + + diff --git a/companyweb_base/static/description/doc_companyweb_data.png b/companyweb_base/static/description/doc_companyweb_data.png new file mode 100644 index 000000000..fc2a698e3 Binary files /dev/null and b/companyweb_base/static/description/doc_companyweb_data.png differ diff --git a/companyweb_base/static/description/doc_get_credentials.png b/companyweb_base/static/description/doc_get_credentials.png new file mode 100644 index 000000000..eed779c5d Binary files /dev/null and b/companyweb_base/static/description/doc_get_credentials.png differ diff --git a/companyweb_base/static/description/doc_install_module.png b/companyweb_base/static/description/doc_install_module.png new file mode 100644 index 000000000..bfac8d2ee Binary files /dev/null and b/companyweb_base/static/description/doc_install_module.png differ diff --git a/companyweb_base/static/description/doc_on_new_partner.png b/companyweb_base/static/description/doc_on_new_partner.png new file mode 100644 index 000000000..f305f0689 Binary files /dev/null and b/companyweb_base/static/description/doc_on_new_partner.png differ diff --git a/companyweb_base/static/description/doc_security_groups.png b/companyweb_base/static/description/doc_security_groups.png new file mode 100644 index 000000000..da3848e99 Binary files /dev/null and b/companyweb_base/static/description/doc_security_groups.png differ diff --git a/companyweb_base/static/description/doc_success_message.png b/companyweb_base/static/description/doc_success_message.png new file mode 100644 index 000000000..d55a3e388 Binary files /dev/null and b/companyweb_base/static/description/doc_success_message.png differ diff --git a/companyweb_base/static/description/icon.png b/companyweb_base/static/description/icon.png new file mode 100644 index 000000000..acc637bf2 Binary files /dev/null and b/companyweb_base/static/description/icon.png differ diff --git a/companyweb_base/static/description/index.html b/companyweb_base/static/description/index.html new file mode 100644 index 000000000..b0b906c6f --- /dev/null +++ b/companyweb_base/static/description/index.html @@ -0,0 +1,510 @@ + + + + + +Companyweb + + + +
+

Companyweb

+ + +

Production/Stable License: AGPL-3 OCA/l10n-belgium Translate me on Weblate Try me on Runboat

+

www.companyweb.be

+

Companyweb is the expert in company information in Belgium.

+

This app provides insights into the financial health of Belgian +companies, directly from the Odoo Customer view.

+

Enhance the Odoo partner with Companyweb data, with one click:

+
    +
  • Name and address
  • +
  • Status
  • +
  • Health barometer
  • +
  • Credit limit
  • +
  • Bankruptcy risk warnings
  • +
  • Key financial information (turnover, gross margin, profit/loss…)
  • +
  • etc
  • +
+

Copy the address from Companyweb to your Odoo partner address.

+

With this valuable information you can personally evaluate each company +and know who you are doing business with.

+

Try for free and get your credentials here: +www.companyweb.be/integrations/37/odoo

+

Want to know how fast companies pay their invoices? Then also install +the second module from Companyweb: payment experience.

+

Table of contents

+ +
+

Installation

+

This module can be installed in the usual way. It depends on the OCA +web_notify module.

+
+
+

Usage

+

With this integration you get detailed information about a company based +on the VAT number of the company.

+

This module comes with 2 security groups.

+
    +
  • View Companyweb Data : can see the Companyweb data tab in contacts
  • +
  • Download Companyweb Data : can actually enhance data
  • +
+

Once your user has the correct permissions, open a partner that has a +belgian VAT number and click on the Companyweb button.

+

image1

+

If you don’t see the Companyweb button, refresh your browser page and +check that the current user is in the correct Companyweb group.

+

If your Companyweb credentials are not known in the system or have +changed, you will be shown a wizard to enter them.

+

image2

+

If everything runs smoothly you’ll see a confirmation popup in the upper +right corner of your screen.

+

image3

+

You can now view the Companyweb information in the corresponding tab.

+

image4

+

You can also use the “Copy Address” button to update the partner address +with the one obtained from Companyweb.

+
+
+

Changelog

+
+

15.0.1.0.2 (2022-02-08)

+

Bugfixes

+
    +
  • The Gross Margin and Fiscal Year Profit/Loss field values +were mixed up. This is now fixed. +(#135)
  • +
+
+
+
+

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 to smash it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • ACSONE SA/NV
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

This module has been originally developed by +ACSONE for Odoo version 8.

+

It was subsequently enhanced by Jacques-Etienne Baudoux (BCIM sprl). The +data model of that version has been preserved to facilitate porting.

+

In 2021, the module was redeveloped under the current form, to support +the new Companyweb SOAP api. This development has been funded by +Companyweb.

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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.

+

Current maintainer:

+

xavier-bouquiaux

+

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

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/companyweb_base/static/img/cweb_barometer/blanco.png b/companyweb_base/static/img/cweb_barometer/blanco.png new file mode 100644 index 000000000..30a05e7c1 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/blanco.png differ diff --git a/companyweb_base/static/img/cweb_barometer/failliet.png b/companyweb_base/static/img/cweb_barometer/failliet.png new file mode 100644 index 000000000..bacf39183 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/failliet.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-01.png b/companyweb_base/static/img/cweb_barometer/neg-01.png new file mode 100644 index 000000000..2a57cbde5 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-01.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-02.png b/companyweb_base/static/img/cweb_barometer/neg-02.png new file mode 100644 index 000000000..5f5a9e880 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-02.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-03.png b/companyweb_base/static/img/cweb_barometer/neg-03.png new file mode 100644 index 000000000..b241cc836 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-03.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-04.png b/companyweb_base/static/img/cweb_barometer/neg-04.png new file mode 100644 index 000000000..86e26cd83 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-04.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-05.png b/companyweb_base/static/img/cweb_barometer/neg-05.png new file mode 100644 index 000000000..9f4a4c155 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-05.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-06.png b/companyweb_base/static/img/cweb_barometer/neg-06.png new file mode 100644 index 000000000..bd6f4c94a Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-06.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-07.png b/companyweb_base/static/img/cweb_barometer/neg-07.png new file mode 100644 index 000000000..c0a57c7b1 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-07.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-08.png b/companyweb_base/static/img/cweb_barometer/neg-08.png new file mode 100644 index 000000000..1b6989dbd Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-08.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-09.png b/companyweb_base/static/img/cweb_barometer/neg-09.png new file mode 100644 index 000000000..afb849f0c Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-09.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-10.png b/companyweb_base/static/img/cweb_barometer/neg-10.png new file mode 100644 index 000000000..f855b5a7c Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-10.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-11.png b/companyweb_base/static/img/cweb_barometer/neg-11.png new file mode 100644 index 000000000..d3cd51667 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-11.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-12.png b/companyweb_base/static/img/cweb_barometer/neg-12.png new file mode 100644 index 000000000..422051cf0 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-12.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-13.png b/companyweb_base/static/img/cweb_barometer/neg-13.png new file mode 100644 index 000000000..920b48afc Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-13.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-14.png b/companyweb_base/static/img/cweb_barometer/neg-14.png new file mode 100644 index 000000000..ca1a0eaa6 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-14.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-15.png b/companyweb_base/static/img/cweb_barometer/neg-15.png new file mode 100644 index 000000000..40f3ce390 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-15.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-16.png b/companyweb_base/static/img/cweb_barometer/neg-16.png new file mode 100644 index 000000000..d2c7a60f7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-16.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-17.png b/companyweb_base/static/img/cweb_barometer/neg-17.png new file mode 100644 index 000000000..049551c41 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-17.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-18.png b/companyweb_base/static/img/cweb_barometer/neg-18.png new file mode 100644 index 000000000..4ced22ef5 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-18.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-19.png b/companyweb_base/static/img/cweb_barometer/neg-19.png new file mode 100644 index 000000000..555ed1b63 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-19.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-20.png b/companyweb_base/static/img/cweb_barometer/neg-20.png new file mode 100644 index 000000000..a82d78ef2 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-20.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-21.png b/companyweb_base/static/img/cweb_barometer/neg-21.png new file mode 100644 index 000000000..1854b36b1 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-21.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-22.png b/companyweb_base/static/img/cweb_barometer/neg-22.png new file mode 100644 index 000000000..c171c4a0a Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-22.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-23.png b/companyweb_base/static/img/cweb_barometer/neg-23.png new file mode 100644 index 000000000..ccf0fdf01 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-23.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-24.png b/companyweb_base/static/img/cweb_barometer/neg-24.png new file mode 100644 index 000000000..54aa74a44 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-24.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-25.png b/companyweb_base/static/img/cweb_barometer/neg-25.png new file mode 100644 index 000000000..9afd1c2b9 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-25.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-26.png b/companyweb_base/static/img/cweb_barometer/neg-26.png new file mode 100644 index 000000000..5e5ad8951 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-26.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-27.png b/companyweb_base/static/img/cweb_barometer/neg-27.png new file mode 100644 index 000000000..0778f95bb Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-27.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-28.png b/companyweb_base/static/img/cweb_barometer/neg-28.png new file mode 100644 index 000000000..c3a3d8c3b Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-28.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-29.png b/companyweb_base/static/img/cweb_barometer/neg-29.png new file mode 100644 index 000000000..743eec716 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-29.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-30.png b/companyweb_base/static/img/cweb_barometer/neg-30.png new file mode 100644 index 000000000..5698be277 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-30.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-31.png b/companyweb_base/static/img/cweb_barometer/neg-31.png new file mode 100644 index 000000000..54f7a2101 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-31.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-32.png b/companyweb_base/static/img/cweb_barometer/neg-32.png new file mode 100644 index 000000000..7b32f25d7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-32.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-33.png b/companyweb_base/static/img/cweb_barometer/neg-33.png new file mode 100644 index 000000000..07c27524a Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-33.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-34.png b/companyweb_base/static/img/cweb_barometer/neg-34.png new file mode 100644 index 000000000..1d3f5ac23 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-34.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-35.png b/companyweb_base/static/img/cweb_barometer/neg-35.png new file mode 100644 index 000000000..90f074e9d Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-35.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-36.png b/companyweb_base/static/img/cweb_barometer/neg-36.png new file mode 100644 index 000000000..ede0ab4bb Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-36.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-37.png b/companyweb_base/static/img/cweb_barometer/neg-37.png new file mode 100644 index 000000000..e26637e80 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-37.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-38.png b/companyweb_base/static/img/cweb_barometer/neg-38.png new file mode 100644 index 000000000..476e7f6c7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-38.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-39.png b/companyweb_base/static/img/cweb_barometer/neg-39.png new file mode 100644 index 000000000..e7112dfc8 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-39.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-40.png b/companyweb_base/static/img/cweb_barometer/neg-40.png new file mode 100644 index 000000000..9a1300f34 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-40.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-41.png b/companyweb_base/static/img/cweb_barometer/neg-41.png new file mode 100644 index 000000000..7b00931aa Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-41.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-42.png b/companyweb_base/static/img/cweb_barometer/neg-42.png new file mode 100644 index 000000000..84c3a5285 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-42.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-43.png b/companyweb_base/static/img/cweb_barometer/neg-43.png new file mode 100644 index 000000000..d7ae5f8c2 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-43.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-44.png b/companyweb_base/static/img/cweb_barometer/neg-44.png new file mode 100644 index 000000000..4928c7eae Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-44.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-45.png b/companyweb_base/static/img/cweb_barometer/neg-45.png new file mode 100644 index 000000000..917983e4a Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-45.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-46.png b/companyweb_base/static/img/cweb_barometer/neg-46.png new file mode 100644 index 000000000..2cd64c6af Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-46.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-47.png b/companyweb_base/static/img/cweb_barometer/neg-47.png new file mode 100644 index 000000000..d10d5eaf8 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-47.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-48.png b/companyweb_base/static/img/cweb_barometer/neg-48.png new file mode 100644 index 000000000..1f6e51c11 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-48.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-49.png b/companyweb_base/static/img/cweb_barometer/neg-49.png new file mode 100644 index 000000000..d2ccf395e Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-49.png differ diff --git a/companyweb_base/static/img/cweb_barometer/neg-50.png b/companyweb_base/static/img/cweb_barometer/neg-50.png new file mode 100644 index 000000000..17d5bbfad Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/neg-50.png differ diff --git a/companyweb_base/static/img/cweb_barometer/new.png b/companyweb_base/static/img/cweb_barometer/new.png new file mode 100644 index 000000000..26401190e Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/new.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-01.png b/companyweb_base/static/img/cweb_barometer/pos-01.png new file mode 100644 index 000000000..8f0bcbd99 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-01.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-02.png b/companyweb_base/static/img/cweb_barometer/pos-02.png new file mode 100644 index 000000000..3c8a461b1 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-02.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-03.png b/companyweb_base/static/img/cweb_barometer/pos-03.png new file mode 100644 index 000000000..3e67156c0 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-03.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-04.png b/companyweb_base/static/img/cweb_barometer/pos-04.png new file mode 100644 index 000000000..a7b79536b Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-04.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-05.png b/companyweb_base/static/img/cweb_barometer/pos-05.png new file mode 100644 index 000000000..3cb761154 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-05.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-06.png b/companyweb_base/static/img/cweb_barometer/pos-06.png new file mode 100644 index 000000000..39ab08031 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-06.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-07.png b/companyweb_base/static/img/cweb_barometer/pos-07.png new file mode 100644 index 000000000..b7dd059d6 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-07.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-08.png b/companyweb_base/static/img/cweb_barometer/pos-08.png new file mode 100644 index 000000000..c9a493616 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-08.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-09.png b/companyweb_base/static/img/cweb_barometer/pos-09.png new file mode 100644 index 000000000..d45660df7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-09.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-10.png b/companyweb_base/static/img/cweb_barometer/pos-10.png new file mode 100644 index 000000000..cd51954c8 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-10.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-11.png b/companyweb_base/static/img/cweb_barometer/pos-11.png new file mode 100644 index 000000000..563d31a2c Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-11.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-12.png b/companyweb_base/static/img/cweb_barometer/pos-12.png new file mode 100644 index 000000000..e2a3b348b Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-12.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-13.png b/companyweb_base/static/img/cweb_barometer/pos-13.png new file mode 100644 index 000000000..e36ca523e Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-13.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-14.png b/companyweb_base/static/img/cweb_barometer/pos-14.png new file mode 100644 index 000000000..8dedb55f1 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-14.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-15.png b/companyweb_base/static/img/cweb_barometer/pos-15.png new file mode 100644 index 000000000..b2634d454 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-15.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-16.png b/companyweb_base/static/img/cweb_barometer/pos-16.png new file mode 100644 index 000000000..eda469fe4 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-16.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-17.png b/companyweb_base/static/img/cweb_barometer/pos-17.png new file mode 100644 index 000000000..b8d4ef26c Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-17.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-18.png b/companyweb_base/static/img/cweb_barometer/pos-18.png new file mode 100644 index 000000000..61e920650 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-18.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-19.png b/companyweb_base/static/img/cweb_barometer/pos-19.png new file mode 100644 index 000000000..3533c1226 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-19.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-20.png b/companyweb_base/static/img/cweb_barometer/pos-20.png new file mode 100644 index 000000000..199702cdc Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-20.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-21.png b/companyweb_base/static/img/cweb_barometer/pos-21.png new file mode 100644 index 000000000..6156f64a7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-21.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-22.png b/companyweb_base/static/img/cweb_barometer/pos-22.png new file mode 100644 index 000000000..631c87b92 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-22.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-23.png b/companyweb_base/static/img/cweb_barometer/pos-23.png new file mode 100644 index 000000000..a45e56fe9 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-23.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-24.png b/companyweb_base/static/img/cweb_barometer/pos-24.png new file mode 100644 index 000000000..643049a11 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-24.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-25.png b/companyweb_base/static/img/cweb_barometer/pos-25.png new file mode 100644 index 000000000..df669a135 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-25.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-26.png b/companyweb_base/static/img/cweb_barometer/pos-26.png new file mode 100644 index 000000000..74f9c5da7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-26.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-27.png b/companyweb_base/static/img/cweb_barometer/pos-27.png new file mode 100644 index 000000000..b04ccd34a Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-27.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-28.png b/companyweb_base/static/img/cweb_barometer/pos-28.png new file mode 100644 index 000000000..2a3697517 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-28.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-29.png b/companyweb_base/static/img/cweb_barometer/pos-29.png new file mode 100644 index 000000000..30c4c31fe Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-29.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-30.png b/companyweb_base/static/img/cweb_barometer/pos-30.png new file mode 100644 index 000000000..1b5bc42a1 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-30.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-31.png b/companyweb_base/static/img/cweb_barometer/pos-31.png new file mode 100644 index 000000000..f70aa1004 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-31.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-32.png b/companyweb_base/static/img/cweb_barometer/pos-32.png new file mode 100644 index 000000000..0d5101b59 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-32.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-33.png b/companyweb_base/static/img/cweb_barometer/pos-33.png new file mode 100644 index 000000000..e87293e09 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-33.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-34.png b/companyweb_base/static/img/cweb_barometer/pos-34.png new file mode 100644 index 000000000..18675385e Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-34.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-35.png b/companyweb_base/static/img/cweb_barometer/pos-35.png new file mode 100644 index 000000000..8ec6e8df7 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-35.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-36.png b/companyweb_base/static/img/cweb_barometer/pos-36.png new file mode 100644 index 000000000..ae300b9ac Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-36.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-37.png b/companyweb_base/static/img/cweb_barometer/pos-37.png new file mode 100644 index 000000000..2f84fd053 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-37.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-38.png b/companyweb_base/static/img/cweb_barometer/pos-38.png new file mode 100644 index 000000000..cae8ca1ab Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-38.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-39.png b/companyweb_base/static/img/cweb_barometer/pos-39.png new file mode 100644 index 000000000..83b0596d6 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-39.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-40.png b/companyweb_base/static/img/cweb_barometer/pos-40.png new file mode 100644 index 000000000..cbadcff85 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-40.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-41.png b/companyweb_base/static/img/cweb_barometer/pos-41.png new file mode 100644 index 000000000..79d3025b9 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-41.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-42.png b/companyweb_base/static/img/cweb_barometer/pos-42.png new file mode 100644 index 000000000..b59c3fe99 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-42.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-43.png b/companyweb_base/static/img/cweb_barometer/pos-43.png new file mode 100644 index 000000000..abc231a87 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-43.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-44.png b/companyweb_base/static/img/cweb_barometer/pos-44.png new file mode 100644 index 000000000..fd113a1fb Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-44.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-45.png b/companyweb_base/static/img/cweb_barometer/pos-45.png new file mode 100644 index 000000000..d248b40d8 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-45.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-46.png b/companyweb_base/static/img/cweb_barometer/pos-46.png new file mode 100644 index 000000000..bc3ae95ae Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-46.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-47.png b/companyweb_base/static/img/cweb_barometer/pos-47.png new file mode 100644 index 000000000..1f9386749 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-47.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-48.png b/companyweb_base/static/img/cweb_barometer/pos-48.png new file mode 100644 index 000000000..f2e5980cc Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-48.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-49.png b/companyweb_base/static/img/cweb_barometer/pos-49.png new file mode 100644 index 000000000..f0f3ad850 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-49.png differ diff --git a/companyweb_base/static/img/cweb_barometer/pos-50.png b/companyweb_base/static/img/cweb_barometer/pos-50.png new file mode 100644 index 000000000..1413376f8 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/pos-50.png differ diff --git a/companyweb_base/static/img/cweb_barometer/stop.png b/companyweb_base/static/img/cweb_barometer/stop.png new file mode 100644 index 000000000..ec2025f0b Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/stop.png differ diff --git a/companyweb_base/static/img/cweb_barometer/zero.png b/companyweb_base/static/img/cweb_barometer/zero.png new file mode 100644 index 000000000..e0a9e83d4 Binary files /dev/null and b/companyweb_base/static/img/cweb_barometer/zero.png differ diff --git a/companyweb_base/static/img/logo-en.png b/companyweb_base/static/img/logo-en.png new file mode 100644 index 000000000..6d7aa798c Binary files /dev/null and b/companyweb_base/static/img/logo-en.png differ diff --git a/companyweb_base/static/img/logo-en.resized.png b/companyweb_base/static/img/logo-en.resized.png new file mode 100644 index 000000000..b4dea26b7 Binary files /dev/null and b/companyweb_base/static/img/logo-en.resized.png differ diff --git a/companyweb_base/tests/__init__.py b/companyweb_base/tests/__init__.py new file mode 100644 index 000000000..1591583f7 --- /dev/null +++ b/companyweb_base/tests/__init__.py @@ -0,0 +1 @@ +from . import test_api_cweb diff --git a/companyweb_base/tests/cassettes/TestApiCweb.test_cweb_button.yaml b/companyweb_base/tests/cassettes/TestApiCweb.test_cweb_button.yaml new file mode 100644 index 000000000..a6ab7baf1 --- /dev/null +++ b/companyweb_base/tests/cassettes/TestApiCweb.test_cweb_button.yaml @@ -0,0 +1,643 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Zeep/3.2.0 (www.python-zeep.org) + method: GET + uri: https://connect.companyweb.be/V1.3/alacarteservice.asmx + response: + body: + string: + headers: + Content-Type: + - text/xml; charset=utf-8 + Date: + - Tue, 23 Mar 2021 12:39:09 GMT + Server: + - Undisclosed + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Accept-Encoding + X-Powered-By: + - ARR/3.0 + content-length: + - '52036' + status: + code: 200 + message: OK +- request: + body: ' + + BE0405056855FRcwebtestlogincwebtestpasswordacsonef6044cbfa65a16bb8496893c032e8b9c80fe145b' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '586' + Content-Type: + - text/xml; charset=utf-8 + SOAPAction: + - '"http://connect.companyweb.be/AlacarteServiceV1_3/GetCompanyByVat"' + User-Agent: + - Zeep/3.4.0 (www.python-zeep.org) + method: POST + uri: https://connect.companyweb.be/V1.3/alacarteservice.asmx + response: + body: + string: "0Success249truetruefalsefalsenltrue405056855truetruetrueScheerders + van Kerchove's Verenigde FabriekenfalsefalsetrueSA14
trueAerschotstraat1149100Sint-NiklaasbeAerschotstraat + 1149100 Sint-Niklaas
falsetrue0Actiftrue19280929true0truescorepos-03.png30.3true13210000falsetrueLiquidit\xE9 + au sens strict < 0.65 (\xB02017) (\xB02018) (\xB02019)https://www.companyweb.be/company/405056855/warningsfalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruehttps://www.companyweb.be/company/405056855truehttps://reporting.companyweb.be/rappLoad.asp?lang=F&login=ACSONESOAP&vat=405056855&key=12604a43a7fd63ee823752b8d9c2fd31falsefalsefalsetrue2019CloseDate2019-12-31Rub10_1523086258Rub7046825985Rub9087247.9Rub980018226650Rub990441206false
" + headers: + Content-Type: + - text/xml; charset=utf-8 + Date: + - Tue, 23 Mar 2021 12:39:09 GMT + Server: + - Undisclosed + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Accept-Encoding + X-Powered-By: + - ARR/3.0 + content-length: + - '4466' + status: + code: 200 + message: OK +version: 1 diff --git a/companyweb_base/tests/test_api_cweb.py b/companyweb_base/tests/test_api_cweb.py new file mode 100644 index 000000000..257eaf59e --- /dev/null +++ b/companyweb_base/tests/test_api_cweb.py @@ -0,0 +1,156 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +# API documentation : https://docs.companyweb.be + +import os +from datetime import datetime + +import requests +import werkzeug +from freezegun import freeze_time +from requests import PreparedRequest, Session +from vcr_unittest import VCRMixin + +from odoo import Command +from odoo.tests.common import TransactionCase + +_super_send = requests.Session.send + + +class TestApiCweb(VCRMixin, TransactionCase): + @classmethod + def _request_handler(cls, s: Session, r: PreparedRequest, /, **kw): + """ + Override to allow requests to the companyweb API + because odoo17 only permit calls to localhost + (see https://github.com/odoo/odoo/blob/17.0/odoo/tests/common.py#L265 ) + """ + url = werkzeug.urls.url_parse(r.url) + if url.host in ("connect.companyweb.be",): + return _super_send(s, r, **kw) + return super()._request_handler(s=s, r=r, **kw) + + def setUp(self, *args, **kwargs): + super().setUp(*args, **kwargs) + + self._install_language("fr") + + demo_user = self.env.ref("base.user_demo") + demo_user.cweb_login = os.environ.get("COMPANYWEB_TEST_LOGIN", "cwebtestlogin") + demo_user.cweb_password = os.environ.get( + "COMPANYWEB_TEST_PASSWORD", "cwebtestpassword" + ) + group = self.env.ref("companyweb_base.cweb_download") + group.write({"users": [Command.link(demo_user.id)]}) + + Partner = self.env["res.partner"].with_user(demo_user) + self.p1 = Partner.create( + { + "name": "Acsone SA", + "vat": "BE0405056855", + } + ) + + def _get_vcr_kwargs(self, **kwargs): + return { + "record_mode": "once", + "match_on": ["method", "path", "query", "raw_body"], + "filter_headers": ["Authorization"], + "decode_compressed_response": True, + } + + def _install_language(self, lang_code="en_US"): + """Install the language if not already installed.""" + # Check if the language already exists + lang = self.env["res.lang"].search([("code", "=", lang_code)], limit=1) + if not lang: + # If the language doesn't exist, create and load it + lang_id = self.env.ref(f"base.lang_{lang_code}").id + lang_wizard = self.env["base.language.install"].create( + { + "lang_ids": [Command.link(lang_id)], + } + ) + lang_wizard.lang_install() + + # Set the language as active + self.env["res.lang"].search([("code", "=", lang_code)]).write({"active": True}) + + @freeze_time("2021-03-23") # because the login hash includes the date + def test_cweb_button(self): + # companyweb response depends on request language + # we force the language so we know what to expect in the response + self.p1.with_context(lang="fr_FR").cweb_button_enhance() + self.assertTrue(self.p1.cweb_prefLang_enable) + self.assertTrue( + self.p1.cweb_prefLang + == self.env["res.lang"] + .with_context(active_test=False) + .search([("iso_code", "=", "nl")]) + ) + self.assertTrue(self.p1.cweb_name_enable, "test cweb name KO") + self.assertTrue( + self.p1.cweb_name == "Scheerders van Kerchove's Verenigde Fabrieken" + ) + self.assertTrue(self.p1.cweb_jur_form_enable) + self.assertTrue(self.p1.cweb_jur_form == "SA") + self.assertTrue(self.p1.cweb_address_enable) + self.assertTrue(self.p1.cweb_street == "Aerschotstraat 114") + self.assertTrue(self.p1.cweb_zip == "9100") + self.assertTrue(self.p1.cweb_city == "Sint-Niklaas") + self.assertTrue(self.p1.cweb_country.code.upper() == "BE") + self.assertTrue(self.p1.cweb_companystatus_enable) + self.assertTrue(self.p1.cweb_companystatus == "Actif") + self.assertTrue(self.p1.cweb_companystatus_code == "0") + self.assertTrue(self.p1.cweb_startDate_enable) + self.assertTrue( + self.p1.cweb_startDate == datetime.strptime("19280929", "%Y%m%d").date() + ) + self.assertTrue(self.p1.cweb_endDate_enable) + self.assertFalse(self.p1.cweb_endDate) + self.assertTrue(self.p1.cweb_image_unset) + self.assertTrue(self.p1.cweb_score_enable) + self.assertTrue(self.p1.cweb_score == "3") + self.assertTrue(self.p1.cweb_image == "pos-03.png") + self.assertTrue(self.p1.cweb_creditLimit_unset) + self.assertTrue(self.p1.cweb_creditLimit_enable) + self.assertTrue(self.p1.cweb_creditLimit == 1321000) + self.assertFalse(self.p1.cweb_creditLimit_info_unset) + self.assertFalse(self.p1.cweb_creditLimit_info) + self.assertTrue(self.p1.cweb_warnings_enable) + # Note : as the warnings are transformed, i can't check the value exactly + self.assertTrue(self.p1.cweb_warnings) + self.assertTrue(self.p1.cweb_url_enable) + self.assertTrue( + self.p1.cweb_url == "https://www.companyweb.be/company/405056855" + ) + self.assertTrue(self.p1.cweb_url_report_enable) + self.assertTrue( + self.p1.cweb_url_report == "https://reporting.companyweb.be/rappLoad.asp?" + "lang=F&login=ACSONESOAP&vat=405056855&key=12604a43a7fd63ee823752b8d9c2fd31" + ) + self.assertTrue(self.p1.cweb_balance_data_enable) + self.assertTrue(self.p1.cweb_balance_year_unset) + self.assertTrue(self.p1.cweb_balance_year == "2019") + self.assertFalse(self.p1.cweb_closed_date_unset) + self.assertTrue( + self.p1.cweb_closed_date + == datetime.strptime("2019-12-31", "%Y-%m-%d").date() + ) + self.assertTrue(self.p1.cweb_equityCapital_unset) + self.assertTrue(self.p1.cweb_equityCapital == 23086258) + self.assertTrue(self.p1.cweb_addedValue == 41206) + self.assertTrue(self.p1.cweb_addedValue_unset) + self.assertTrue(self.p1.cweb_result == 18226650) + self.assertTrue(self.p1.cweb_result_unset) + self.assertTrue(self.p1.cweb_turnover == 46825985) + self.assertTrue(self.p1.cweb_turnover_unset) + + self.p1.with_context(lang="fr_Fr").cweb_button_copy_address() + self.assertTrue(self.p1.street == self.p1.cweb_street) + self.assertTrue(self.p1.city == self.p1.cweb_city) + self.assertTrue(self.p1.zip == self.p1.cweb_zip) + self.assertTrue(self.p1.country_id == self.p1.cweb_country) + self.assertFalse(self.p1.street2) + self.assertFalse(self.p1.state_id.code) diff --git a/companyweb_base/views/partner_view.xml b/companyweb_base/views/partner_view.xml new file mode 100644 index 000000000..c87c33687 --- /dev/null +++ b/companyweb_base/views/partner_view.xml @@ -0,0 +1,267 @@ + + + + partner.cweb_info + res.partner + + + +

+

+ +
+

+
+ + + + Companyweb + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Seat + + +
+ + + + +
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
diff --git a/companyweb_base/wizards/__init__.py b/companyweb_base/wizards/__init__.py new file mode 100644 index 000000000..76906611e --- /dev/null +++ b/companyweb_base/wizards/__init__.py @@ -0,0 +1,2 @@ +from . import credential_wizard_abstract +from . import credential_wizard_base diff --git a/companyweb_base/wizards/credential_wizard.xml b/companyweb_base/wizards/credential_wizard.xml new file mode 100644 index 000000000..cc4c6213d --- /dev/null +++ b/companyweb_base/wizards/credential_wizard.xml @@ -0,0 +1,33 @@ + + + Companyweb Credential Wizard + companyweb_base.credential_wizard_abstract + +
+ + + + + + + +
+ Click here to create your login information: + https://www.companyweb.be + +
+
+
+
diff --git a/companyweb_base/wizards/credential_wizard_abstract.py b/companyweb_base/wizards/credential_wizard_abstract.py new file mode 100644 index 000000000..34c0fcac3 --- /dev/null +++ b/companyweb_base/wizards/credential_wizard_abstract.py @@ -0,0 +1,23 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import fields, models + + +class CompanyWebCredentialWizardAbstract(models.AbstractModel): + _name = "companyweb_base.credential_wizard_abstract" + _description = "Ask for Companyweb login & password" + + cweb_login = fields.Char("Companyweb Login", required=True) + cweb_password = fields.Char("Companyweb Password", required=True) + + def _return_action(self): + return True + + def save_cweb_login_pwd(self): + """ + save information given in the form to the logged-in user + """ + self.ensure_one() + self.env.user.cweb_login = self.cweb_login + self.env.user.cweb_password = self.cweb_password + return self._return_action() diff --git a/companyweb_base/wizards/credential_wizard_base.py b/companyweb_base/wizards/credential_wizard_base.py new file mode 100644 index 000000000..19c3d7d27 --- /dev/null +++ b/companyweb_base/wizards/credential_wizard_base.py @@ -0,0 +1,16 @@ +# Copyright 2021 ACSONE SA/NV +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +from odoo import models + + +class CompanyWebCredentialWizardBase(models.TransientModel): + _name = "companyweb_base.credential_wizard_base" + _description = "Ask for Companyweb login & password" + _inherit = ["companyweb_base.credential_wizard_abstract"] + + def _return_action(self): + return ( + self.env["res.partner"] + .browse(self.env.context["active_id"]) + .cweb_button_enhance() + ) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..a23257d63 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +# generated from manifests external_dependencies +zeep diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 000000000..4aadb0af8 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1 @@ +vcrpy-unittest