From 9ca758f18b61cd4e74eaeb09f6bd7beb4512d492 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 18 Mar 2019 13:37:24 +0000 Subject: [PATCH] [UPD] README.rst --- partner_second_lastname/README.rst | 77 +-- .../static/description/index.html | 460 ++++++++++++++++++ 2 files changed, 507 insertions(+), 30 deletions(-) create mode 100644 partner_second_lastname/static/description/index.html diff --git a/partner_second_lastname/README.rst b/partner_second_lastname/README.rst index b743fcbd1..cba18c7d8 100644 --- a/partner_second_lastname/README.rst +++ b/partner_second_lastname/README.rst @@ -1,10 +1,29 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg +======================== +Partner second last name +======================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 - -======================= -Partner second lastname -======================= +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/12.0/partner_second_lastname + :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-12-0/partner-contact-12-0-partner_second_lastname + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/134/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| This module was written to extend the functionality of ``partner_firstname`` to support having a second lastname for contact partners. @@ -14,6 +33,11 @@ In some countries, it's important to have a second last name for contacts. Contact partners will need to fill at least one of the name fields (*First name*, *First last name* or *Second last name*). +**Table of contents** + +.. contents:: + :local: + Configuration ============= @@ -33,7 +57,6 @@ second lastname from a simple string and also *_get_computed_name* to get a name form the firstname, lastname and second lastname. These methods can be overridden to change the format specified above. - Usage ===== @@ -51,51 +74,45 @@ lastname using an inverse function. If you can, always enter it manually please. Automatic guessing could fail for you easily in some corner cases. -.. 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/11.0 - - -Known issues / Roadmap -====================== - -Patterns for the inverse function are configurable only at system level. Maybe -this configuration could depend on partner language, country or company, -as discussed at `this OCA issue `_ - - 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 `here -`_. +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 +~~~~~~~ + +* Tecnativa + Contributors ------------- +~~~~~~~~~~~~ * Jairo Llopis . * Antonio Espinosa. * Pedro M. Baeza . * Nikul Chaudhary -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_second_lastname/static/description/index.html b/partner_second_lastname/static/description/index.html new file mode 100644 index 000000000..9ab39a32b --- /dev/null +++ b/partner_second_lastname/static/description/index.html @@ -0,0 +1,460 @@ + + + + + + +Partner second last name + + + +
+

Partner second last name

+ + +

Beta License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runbot

+

This module was written to extend the functionality of partner_firstname to +support having a second lastname for contact partners.

+

In some countries, it’s important to have a second last name for contacts.

+

Contact partners will need to fill at least one of the name fields +(First name, First last name or Second last name).

+

Table of contents

+ +
+

Configuration

+

You can configure some common name patterns for the inverse function +in Settings > Configuration > General settings:

+
    +
  • Lastname SecondLastname Firstname: For example ‘Anderson Lavarge Robert’
  • +
  • Lastname SecondLastname, Firstname: For example ‘Anderson Lavarge, Robert’
  • +
  • Firstname Lastname SecondLastname: For example ‘Robert Anderson Lavarge’
  • +
+

After applying the changes, you can recalculate all partners name clicking +“Recalculate names” button. Note: This process could take so much time depending +how many partners there are in database.

+

You can use _get_inverse_name method to get firstname, lastname and +second lastname from a simple string and also _get_computed_name to get a +name form the firstname, lastname and second lastname. +These methods can be overridden to change the format specified above.

+
+
+

Usage

+

To use this module, you need to:

+
    +
  • Edit any partner’s form.
  • +
  • Make sure the partner is not a company.
  • +
  • Enter firstname and lastnames.
  • +
+

If you directly enter the full name instead of entering the other fields +separately (maybe from other form), this module will try to guess the best +match for your input and split it between firstname, lastname and second +lastname using an inverse function.

+

If you can, always enter it manually please. Automatic guessing could fail for +you easily in some corner cases.

+
+
+

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

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

+
+
+
+ +