diff --git a/partner_capital/README.rst b/partner_capital/README.rst index 1a7c9150f84..9311b6bf9fa 100644 --- a/partner_capital/README.rst +++ b/partner_capital/README.rst @@ -1,21 +1,33 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 +================ +Partners Capital +================ -=============== -Partner Capital -=============== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -This module extends the functionality of partners to support setting the -country of origin of capital, registered capital amount and turnover. +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/11.0/partner_capital + :alt: OCA/partner-contact +.. |badge3| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/partner-contact-11-0/partner-contact-11-0-partner_capital + :alt: Translate me on Weblate +.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/134/11.0 + :alt: Try me on Runbot -By capital country we mean country of origin of the capital of the company. +|badge1| |badge2| |badge3| |badge4| -By registered capital amount we mean the amount of money registered in the -corresponding commercial registry, A.K.A. social capital or just capital of a -company. +Bla test -By turnover we can define a range for a concrete amount. +**Table of contents** + +.. contents:: + :local: Usage ===== @@ -29,10 +41,6 @@ To manage turnover ranges, you need to: * Go to *Sales > Configuration > Address Book > Turnover ranges*. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/10.0 - Known issues / Roadmap ====================== @@ -42,37 +50,43 @@ Known issues / Roadmap Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed `feedback -`_. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* Antiun Ingenieria S.L. +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Antonio Espinosa * Rafael Blasco * Jairo Llopis * David Vidal -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/partner-contact `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_capital/__init__.py b/partner_capital/__init__.py index cde864bae21..0650744f6bc 100644 --- a/partner_capital/__init__.py +++ b/partner_capital/__init__.py @@ -1,3 +1 @@ -# -*- coding: utf-8 -*- - from . import models diff --git a/partner_capital/__manifest__.py b/partner_capital/__manifest__.py index 2057aa1beb9..bbfdc44b93b 100644 --- a/partner_capital/__manifest__.py +++ b/partner_capital/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2015 Antonio Espinosa # Copyright 2015 Jairo Llopis # Copyright 2017 David Vidal @@ -6,12 +5,12 @@ { 'name': 'Partners Capital', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'category': 'Customer Relationship Management', - 'author': 'Antiun Ingeniería S.L., ' + 'author': 'Antiun Ingenieria S.L., ' 'Tecnativa, ' 'Odoo Community Association (OCA)', - 'website': 'https://www.tecnativa.com', + "website": "https://github.com/OCA/partner-contact/tree/11.0/partner_capital", # noqa 'depends': [ 'sale', ], diff --git a/partner_capital/i18n/fr.po b/partner_capital/i18n/fr.po index fa5078ff8a9..c117720f7f5 100644 --- a/partner_capital/i18n/fr.po +++ b/partner_capital/i18n/fr.po @@ -23,7 +23,7 @@ msgstr "" #. module: partner_capital #: selection:res.partner,company_size:0 msgid "Big" -msgstr "" +msgstr "Grande" #. module: partner_capital #: model:ir.ui.view,arch_db:partner_capital.view_partner_form_capital @@ -35,7 +35,7 @@ msgstr "" #: model:ir.model.fields,field_description:partner_capital.field_res_partner_capital_amount #: model:ir.model.fields,field_description:partner_capital.field_res_users_capital_amount msgid "Capital amount" -msgstr "" +msgstr "Montant du capital" #. module: partner_capital #: model:ir.model.fields,field_description:partner_capital.field_res_partner_alias_capital_country_id @@ -43,14 +43,14 @@ msgstr "" #: model:ir.model.fields,field_description:partner_capital.field_res_users_capital_country_id #: model:ir.ui.view,arch_db:partner_capital.view_res_partner_filter_capital msgid "Capital country" -msgstr "" +msgstr "Pays d'origine du capital" #. module: partner_capital #: model:ir.model.fields,field_description:partner_capital.field_res_partner_alias_capital_currency_id #: model:ir.model.fields,field_description:partner_capital.field_res_partner_capital_currency_id #: model:ir.model.fields,field_description:partner_capital.field_res_users_capital_currency_id msgid "Capital currency" -msgstr "" +msgstr "Devise du capital" #. module: partner_capital #: model:ir.model.fields,field_description:partner_capital.field_res_partner_alias_company_size @@ -58,14 +58,14 @@ msgstr "" #: model:ir.model.fields,field_description:partner_capital.field_res_users_company_size #: model:ir.ui.view,arch_db:partner_capital.view_res_partner_filter_capital msgid "Company size" -msgstr "" +msgstr "Taille de la société" #. module: partner_capital #: model:ir.model.fields,help:partner_capital.field_res_partner_alias_capital_country_id #: model:ir.model.fields,help:partner_capital.field_res_partner_capital_country_id #: model:ir.model.fields,help:partner_capital.field_res_users_capital_country_id msgid "Country of origin of this company's capital." -msgstr "" +msgstr "Pays d'origine du capital de la société" #. module: partner_capital #: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range_create_uid @@ -105,12 +105,12 @@ msgstr "Mis à jour le" #. module: partner_capital #: selection:res.partner,company_size:0 msgid "Medium" -msgstr "" +msgstr "Normale" #. module: partner_capital #: selection:res.partner,company_size:0 msgid "Micro" -msgstr "" +msgstr "Très petite" #. module: partner_capital #: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range_name @@ -127,24 +127,24 @@ msgstr "Contact" #: model:ir.model.fields,help:partner_capital.field_res_partner_capital_amount #: model:ir.model.fields,help:partner_capital.field_res_users_capital_amount msgid "Publicly registered capital amount." -msgstr "" +msgstr "Montant du capital enregistré publiquement" #. module: partner_capital #: selection:res.partner,company_size:0 msgid "Small" -msgstr "" +msgstr "Petite" #. module: partner_capital #: model:ir.ui.view,arch_db:partner_capital.view_res_partner_filter_capital msgid "Turnover" -msgstr "" +msgstr "Chiffre d'affaire" #. module: partner_capital #: model:ir.model.fields,field_description:partner_capital.field_res_partner_alias_turnover_amount #: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_amount #: model:ir.model.fields,field_description:partner_capital.field_res_users_turnover_amount msgid "Turnover amount" -msgstr "" +msgstr "Montant du chiffre d'affaire" #. module: partner_capital #: model:ir.model,name:partner_capital.model_res_partner_turnover_range @@ -152,11 +152,11 @@ msgstr "" #: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range_id_5466 #: model:ir.model.fields,field_description:partner_capital.field_res_users_turnover_range_id msgid "Turnover range" -msgstr "" +msgstr "Fourchette du chiffre d'affaire" #. module: partner_capital #: model:ir.actions.act_window,name:partner_capital.res_partner_turnover_range_action #: model:ir.ui.menu,name:partner_capital.menu_res_partner_turnover_range #: model:ir.ui.view,arch_db:partner_capital.res_partner_turnover_range_tree_view msgid "Turnover ranges" -msgstr "" +msgstr "Fourchettes du chiffre d'affaire" diff --git a/partner_capital/i18n/partner_capital.pot b/partner_capital/i18n/partner_capital.pot index d0fec1ca9b8..9ba6dad9a08 100644 --- a/partner_capital/i18n/partner_capital.pot +++ b/partner_capital/i18n/partner_capital.pot @@ -140,7 +140,7 @@ msgid "Turnover amount" msgstr "" #. module: partner_capital -#: model:ir.model,name:partner_capital.model_res_partner_turnover_range +#: model:ir.model,name:partner_capital.model_res_partner_turnover_range_id #: model:ir.model.fields,field_description:partner_capital.field_res_partner_alias_turnover_range_id #: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range_id_5466 #: model:ir.model.fields,field_description:partner_capital.field_res_users_turnover_range_id diff --git a/partner_capital/models/__init__.py b/partner_capital/models/__init__.py index c2cd4625ca4..73051bf8d3d 100644 --- a/partner_capital/models/__init__.py +++ b/partner_capital/models/__init__.py @@ -1,8 +1,3 @@ -# -*- coding: utf-8 -*- -# © 2015 Antiun Ingeniería S.L. - Antonio Espinosa -# © 2015 Antiun Ingeniería S.L. - Jairo Llopis -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - from . import ( res_partner_turnover_range, res_partner, diff --git a/partner_capital/models/res_partner.py b/partner_capital/models/res_partner.py index ba2a31e63d1..dc9a668af1f 100644 --- a/partner_capital/models/res_partner.py +++ b/partner_capital/models/res_partner.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2015 Antonio Espinosa # Copyright 2015 Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/partner_capital/models/res_partner_turnover_range.py b/partner_capital/models/res_partner_turnover_range.py index a0cef68ef9e..d189e203754 100644 --- a/partner_capital/models/res_partner_turnover_range.py +++ b/partner_capital/models/res_partner_turnover_range.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2015 Antonio Espinosa # Copyright 2015 Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). diff --git a/partner_capital/readme/CONTRIBUTORS.rst b/partner_capital/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..c10a25ab706 --- /dev/null +++ b/partner_capital/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Antonio Espinosa +* Rafael Blasco +* Jairo Llopis +* David Vidal diff --git a/partner_capital/readme/DESCRIPTION.rst b/partner_capital/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..e2b97e9989f --- /dev/null +++ b/partner_capital/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Bla test diff --git a/partner_capital/readme/ROADMAP.rst b/partner_capital/readme/ROADMAP.rst new file mode 100644 index 00000000000..19479575c0a --- /dev/null +++ b/partner_capital/readme/ROADMAP.rst @@ -0,0 +1,2 @@ +* Add automatic rules to calculate turnover range and company size. +* Allow customization of company sizes. diff --git a/partner_capital/readme/USAGE.rst b/partner_capital/readme/USAGE.rst new file mode 100644 index 00000000000..7ef61caff91 --- /dev/null +++ b/partner_capital/readme/USAGE.rst @@ -0,0 +1,8 @@ +To use this module, you need to: + +* Go to any partner's form. +* You will find the new fields in *Sales & Purchases > Capital*. + +To manage turnover ranges, you need to: + +* Go to *Sales > Configuration > Address Book > Turnover ranges*. diff --git a/partner_capital/static/description/index.html b/partner_capital/static/description/index.html new file mode 100644 index 00000000000..80bdc00efb8 --- /dev/null +++ b/partner_capital/static/description/index.html @@ -0,0 +1,444 @@ + + + + + + +Partners Capital + + + +
+

Partners Capital

+ + +

Beta OCA/partner-contact Translate me on Weblate Try me on Runbot

+

Bla test

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  • Go to any partner’s form.
  • +
  • You will find the new fields in Sales & Purchases > Capital.
  • +
+

To manage turnover ranges, you need to:

+
    +
  • Go to Sales > Configuration > Address Book > Turnover ranges.
  • +
+
+
+

Known issues / Roadmap

+
    +
  • Add automatic rules to calculate turnover range and company size.
  • +
  • Allow customization of company sizes.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Antiun Ingenieria S.L.
  • +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

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.

+

This module is part of the OCA/partner-contact project on GitHub.

+

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

+
+
+
+ + diff --git a/partner_capital/views/res_partner_turnover_range_view.xml b/partner_capital/views/res_partner_turnover_range_view.xml index 6b8bc9eeefa..b6730dbb495 100644 --- a/partner_capital/views/res_partner_turnover_range_view.xml +++ b/partner_capital/views/res_partner_turnover_range_view.xml @@ -21,6 +21,6 @@ + parent="sale.menu_sale_config"/>