Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[IMP] partner_capital: pre-commit auto fixes #1907

Open
wants to merge 3 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions partner_capital/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
================
Partners Capital
================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github
:target: https://github.com/OCA/partner-contact/tree/16.0/partner_capital
:alt: OCA/partner-contact
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_capital
: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/partner-contact&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of partners to support setting the
country of origin of capital, registered capital amount and turnover.

By capital country we mean country of origin of the capital of the company.

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.

By turnover we can define a range for a concrete amount.

**Table of contents**

.. contents::
:local:

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 *Contacts > Configuration > 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 <https://github.com/OCA/partner-contact/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_capital%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Antiun Ingeniería S.L.
* Tecnativa

Contributors
~~~~~~~~~~~~

* Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>

* `Tecnativa <https://www.tecnativa.com>`_:

* Antonio Espinosa
* Rafael Blasco
* Jairo Llopis
* David Vidal
* Alexandre Díaz

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-EmilioPascual| image:: https://github.com/EmilioPascual.png?size=40px
:target: https://github.com/EmilioPascual
:alt: EmilioPascual

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-EmilioPascual|

This module is part of the `OCA/partner-contact <https://github.com/OCA/partner-contact/tree/16.0/partner_capital>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions partner_capital/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
23 changes: 23 additions & 0 deletions partner_capital/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2015 Tecnativa - Antonio Espinosa
# Copyright 2015 Tecnativa - Jairo Llopis
# Copyright 2017 Tecnativa - David Vidal
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Partners Capital",
"version": "17.0.1.0.0",
"category": "Customer Relationship Management",
"license": "AGPL-3",
"author": "Antiun Ingeniería S.L., "
"Tecnativa, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/partner-contact",
"depends": ["contacts"],
"data": [
"views/res_partner_turnover_range_view.xml",
"views/res_partner_view.xml",
"security/ir.model.access.csv",
],
"installable": True,
"maintainers": ["EmilioPascual"],
}
154 changes: 154 additions & 0 deletions partner_capital/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * partner_capital
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-10 01:50+0000\n"
"PO-Revision-Date: 2017-06-10 01:50+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: partner_capital
#: model:ir.model.fields.selection,name:partner_capital.selection__res_partner__company_size__big
msgid "Big"
msgstr ""

#. module: partner_capital
#: model_terms:ir.ui.view,arch_db:partner_capital.view_partner_form_capital
msgid "Capital"
msgstr ""

#. module: partner_capital
#: 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 ""

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner__capital_country_id
#: model:ir.model.fields,field_description:partner_capital.field_res_users__capital_country_id
#: model_terms:ir.ui.view,arch_db:partner_capital.view_res_partner_filter_capital
msgid "Capital country"
msgstr ""

#. module: partner_capital
#: 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 ""

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner__company_size
#: model:ir.model.fields,field_description:partner_capital.field_res_users__company_size
#: model_terms:ir.ui.view,arch_db:partner_capital.view_res_partner_filter_capital
msgid "Company size"
msgstr ""

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

#. module: partner_capital
#: 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 ""

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__create_date
msgid "Created on"
msgstr "Creado en"

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__display_name
msgid "Display Name"
msgstr ""

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__id
msgid "ID"
msgstr "ID"

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range____last_update
msgid "Last Modified on"
msgstr ""

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: partner_capital
#: model:ir.model.fields.selection,name:partner_capital.selection__res_partner__company_size__medium
msgid "Medium"
msgstr ""

#. module: partner_capital
#: model:ir.model.fields.selection,name:partner_capital.selection__res_partner__company_size__micro
msgid "Micro"
msgstr ""

#. module: partner_capital
#: model:ir.model.fields,field_description:partner_capital.field_res_partner_turnover_range__name
msgid "Name"
msgstr ""

#. module: partner_capital
#: 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 ""

#. module: partner_capital
#: model:ir.model.fields.selection,name:partner_capital.selection__res_partner__company_size__small
msgid "Small"
msgstr ""

#. module: partner_capital
#: model_terms:ir.ui.view,arch_db:partner_capital.view_res_partner_filter_capital
msgid "Turnover"
msgstr ""

#. module: partner_capital
#: 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 ""

#. module: partner_capital
#: model:ir.model,name:partner_capital.model_res_partner_turnover_range
#: model:ir.model.fields,field_description:partner_capital.field_res_partner__turnover_range_id
#: model:ir.model.fields,field_description:partner_capital.field_res_users__turnover_range_id
msgid "Turnover range"
msgstr ""

#. 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
msgid "Turnover ranges"
msgstr ""

#~ msgid "Partner"
#~ msgstr "ተባባሪ"
Loading
Loading