mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pms_l10n_es: adapt readme and manifest to OCA Guidelines
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
================================
|
||||
Partner first name and last name
|
||||
================================
|
||||
======================
|
||||
PMS Spanish Adaptation
|
||||
======================
|
||||
|
||||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
@@ -13,75 +13,32 @@ Partner first name and last name
|
||||
.. |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/14.0/partner_firstname
|
||||
:alt: OCA/partner-contact
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpms-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/pms/tree/14.0/pms_l10n_es
|
||||
:alt: OCA/pms
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_firstname
|
||||
:target: https://translation.odoo-community.org/projects/pms-14-0/pms-14-0-pms_l10n_es
|
||||
: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/14.0
|
||||
:target: https://runbot.odoo-community.org/runbot/293/14.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module was written to extend the functionality of contacts to support
|
||||
having separate last name and first name.
|
||||
This module adds spanish localization support to property management system (PMS).
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
You can configure some common name patterns for the inverse function
|
||||
in Settings > General settings:
|
||||
|
||||
* Lastname Firstname: For example 'Anderson Robert'
|
||||
* Lastname, Firstname: For example 'Anderson, Robert'
|
||||
* Firstname Lastname: For example 'Robert Anderson'
|
||||
|
||||
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 lastname and firstname from a simple string
|
||||
and also *_get_computed_name* to get a name form the lastname and firstname.
|
||||
These methods can be overridden to change the format specified above.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
The field *name* becomes a stored function field concatenating the *last name*
|
||||
and the *first name*. This avoids breaking compatibility with other modules.
|
||||
|
||||
Users should fulfill manually the separate fields for *last name* and *first
|
||||
name*, but in case you edit just the *name* field in some unexpected module,
|
||||
there is an inverse function that tries to split that automatically. It assumes
|
||||
that you write the *name* in format configured (*"Lastname Firstname"*, by default),
|
||||
but it could lead to wrong splitting (because it's just blindly trying to
|
||||
guess what you meant), so you better specify it manually.
|
||||
|
||||
For the same reason, after installing, previous names for contacts will stay in
|
||||
the *name* field, and the first time you edit any of them you will be asked to
|
||||
supply the *last name* and *first name* (just once per contact).
|
||||
|
||||
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 <https://github.com/OCA/partner-contact/issues/210>`_
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/partner-contact/issues>`_.
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pms/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 <https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_firstname%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`feedback <https://github.com/OCA/pms/issues/new?body=module:%20pms_l10n_es%0Aversion:%2014.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.
|
||||
|
||||
@@ -91,34 +48,18 @@ Credits
|
||||
Authors
|
||||
~~~~~~~
|
||||
|
||||
* Camptocamp
|
||||
* Grupo ESOC Ingeniería de Servicios
|
||||
* Tecnativa
|
||||
* LasLabs
|
||||
* ACSONE SA/NV
|
||||
* Commit [Sun]
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Nicolas Bessi <nicolas.bessi@camptocamp.com>
|
||||
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
|
||||
* Vincent Renaville <vincent.renaville@camptocamp.com>
|
||||
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
|
||||
* Holger Brunn <hbrunn@terp.nl>
|
||||
* Jonathan Nemry <jonathan.nemry@acsone.eu>
|
||||
* Olivier Laurent <olivier.laurent@acsone.eu>
|
||||
* Sandy Carter <sandy.carter@savoirfairelinux.com>
|
||||
* Alexis de Lattre <alexis.delattre@akretion.fr>
|
||||
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
* Hans Henrik Gabelgaard <hhg@gabelgaard.org>
|
||||
* Jairo Llopis <j.llopis@grupoesoc.es>
|
||||
* Adrien Peiffer <adrien.peiffer@acsone.eu>
|
||||
* Ronald Portier <ronald@therp.nl>
|
||||
* Sylvain Van Hoof
|
||||
* Pedro Baeza <pedro.baeza@serviciosbaeza.com>
|
||||
* Dave Lasley <dave@laslabs.com>
|
||||
* Graeme Gellatly <graeme@o4sb.com>
|
||||
* Laurent Mignon <laurent.mignon@acsone.eu>
|
||||
* Jose Luis Algara
|
||||
* `Commit [Sun] <https://www.commitsun.com>`:
|
||||
|
||||
* Dario Lodeiros
|
||||
* Sara Lago
|
||||
* Brais Abeijon
|
||||
* Miguel Padin
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
@@ -133,6 +74,6 @@ 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 <https://github.com/OCA/partner-contact/tree/14.0/partner_firstname>`_ project on GitHub.
|
||||
This module is part of the `OCA/pms <https://github.com/OCA/pms/tree/14.0/pms_l10n_es>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{
|
||||
"name": "PMS Spanish Adaptation",
|
||||
"version": "14.0.1.0.0",
|
||||
"author": "CommitSun, " "Odoo Community Association (OCA)",
|
||||
"author": "Commit [Sun], Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"application": True,
|
||||
"category": "Localization",
|
||||
|
||||
7
pms_l10n_es/readme/CONTRIBUTORS.rst
Normal file
7
pms_l10n_es/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
* Jose Luis Algara
|
||||
* `Commit [Sun] <https://www.commitsun.com>`:
|
||||
|
||||
* Dario Lodeiros
|
||||
* Sara Lago
|
||||
* Brais Abeijon
|
||||
* Miguel Padin
|
||||
1
pms_l10n_es/readme/DESCRIPTION.rst
Normal file
1
pms_l10n_es/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1 @@
|
||||
This module adds spanish localization support to property management system (PMS).
|
||||
@@ -3,8 +3,8 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
|
||||
<title>Partner first name and last name</title>
|
||||
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
|
||||
<title>PMS Spanish Adaptation</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
@@ -360,119 +360,64 @@ ul.auto-toc {
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="partner-first-name-and-last-name">
|
||||
<h1 class="title">Partner first name and last name</h1>
|
||||
<div class="document" id="pms-spanish-adaptation">
|
||||
<h1 class="title">PMS Spanish Adaptation</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/partner-contact/tree/14.0/partner_firstname"><img alt="OCA/partner-contact" src="https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_firstname"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/134/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module was written to extend the functionality of contacts to support
|
||||
having separate last name and first name.</p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/pms/tree/14.0/pms_l10n_es"><img alt="OCA/pms" src="https://img.shields.io/badge/github-OCA%2Fpms-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/pms-14-0/pms-14-0-pms_l10n_es"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/293/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module adds spanish localization support to property management system (PMS).</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li>
|
||||
<li><a class="reference internal" href="#usage" id="id2">Usage</a></li>
|
||||
<li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="configuration">
|
||||
<h1><a class="toc-backref" href="#id1">Configuration</a></h1>
|
||||
<p>You can configure some common name patterns for the inverse function
|
||||
in Settings > General settings:</p>
|
||||
<ul class="simple">
|
||||
<li>Lastname Firstname: For example ‘Anderson Robert’</li>
|
||||
<li>Lastname, Firstname: For example ‘Anderson, Robert’</li>
|
||||
<li>Firstname Lastname: For example ‘Robert Anderson’</li>
|
||||
</ul>
|
||||
<p>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.</p>
|
||||
<p>You can use <em>_get_inverse_name</em> method to get lastname and firstname from a simple string
|
||||
and also <em>_get_computed_name</em> to get a name form the lastname and firstname.
|
||||
These methods can be overridden to change the format specified above.</p>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h1><a class="toc-backref" href="#id2">Usage</a></h1>
|
||||
<p>The field <em>name</em> becomes a stored function field concatenating the <em>last name</em>
|
||||
and the <em>first name</em>. This avoids breaking compatibility with other modules.</p>
|
||||
<p>Users should fulfill manually the separate fields for <em>last name</em> and <em>first
|
||||
name</em>, but in case you edit just the <em>name</em> field in some unexpected module,
|
||||
there is an inverse function that tries to split that automatically. It assumes
|
||||
that you write the <em>name</em> in format configured (<em>“Lastname Firstname”</em>, by default),
|
||||
but it could lead to wrong splitting (because it’s just blindly trying to
|
||||
guess what you meant), so you better specify it manually.</p>
|
||||
<p>For the same reason, after installing, previous names for contacts will stay in
|
||||
the <em>name</em> field, and the first time you edit any of them you will be asked to
|
||||
supply the <em>last name</em> and <em>first name</em> (just once per contact).</p>
|
||||
</div>
|
||||
<div class="section" id="known-issues-roadmap">
|
||||
<h1><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h1>
|
||||
<p>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 <a class="reference external" href="https://github.com/OCA/partner-contact/issues/210">this OCA issue</a></p>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#id4">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/partner-contact/issues">GitHub Issues</a>.
|
||||
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/pms/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/partner-contact/issues/new?body=module:%20partner_firstname%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<a class="reference external" href="https://github.com/OCA/pms/issues/new?body=module:%20pms_l10n_es%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#id5">Credits</a></h1>
|
||||
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#id6">Authors</a></h2>
|
||||
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Camptocamp</li>
|
||||
<li>Grupo ESOC Ingeniería de Servicios</li>
|
||||
<li>Tecnativa</li>
|
||||
<li>LasLabs</li>
|
||||
<li>ACSONE SA/NV</li>
|
||||
<li>Commit [Sun]</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#id7">Contributors</a></h2>
|
||||
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Nicolas Bessi <<a class="reference external" href="mailto:nicolas.bessi@camptocamp.com">nicolas.bessi@camptocamp.com</a>></li>
|
||||
<li>Yannick Vaucher <<a class="reference external" href="mailto:yannick.vaucher@camptocamp.com">yannick.vaucher@camptocamp.com</a>></li>
|
||||
<li>Vincent Renaville <<a class="reference external" href="mailto:vincent.renaville@camptocamp.com">vincent.renaville@camptocamp.com</a>></li>
|
||||
<li>Guewen Baconnier <<a class="reference external" href="mailto:guewen.baconnier@camptocamp.com">guewen.baconnier@camptocamp.com</a>></li>
|
||||
<li>Holger Brunn <<a class="reference external" href="mailto:hbrunn@terp.nl">hbrunn@terp.nl</a>></li>
|
||||
<li>Jonathan Nemry <<a class="reference external" href="mailto:jonathan.nemry@acsone.eu">jonathan.nemry@acsone.eu</a>></li>
|
||||
<li>Olivier Laurent <<a class="reference external" href="mailto:olivier.laurent@acsone.eu">olivier.laurent@acsone.eu</a>></li>
|
||||
<li>Sandy Carter <<a class="reference external" href="mailto:sandy.carter@savoirfairelinux.com">sandy.carter@savoirfairelinux.com</a>></li>
|
||||
<li>Alexis de Lattre <<a class="reference external" href="mailto:alexis.delattre@akretion.fr">alexis.delattre@akretion.fr</a>></li>
|
||||
<li>Lorenzo Battistini <<a class="reference external" href="mailto:lorenzo.battistini@agilebg.com">lorenzo.battistini@agilebg.com</a>></li>
|
||||
<li>Hans Henrik Gabelgaard <<a class="reference external" href="mailto:hhg@gabelgaard.org">hhg@gabelgaard.org</a>></li>
|
||||
<li>Jairo Llopis <<a class="reference external" href="mailto:j.llopis@grupoesoc.es">j.llopis@grupoesoc.es</a>></li>
|
||||
<li>Adrien Peiffer <<a class="reference external" href="mailto:adrien.peiffer@acsone.eu">adrien.peiffer@acsone.eu</a>></li>
|
||||
<li>Ronald Portier <<a class="reference external" href="mailto:ronald@therp.nl">ronald@therp.nl</a>></li>
|
||||
<li>Sylvain Van Hoof</li>
|
||||
<li>Pedro Baeza <<a class="reference external" href="mailto:pedro.baeza@serviciosbaeza.com">pedro.baeza@serviciosbaeza.com</a>></li>
|
||||
<li>Dave Lasley <<a class="reference external" href="mailto:dave@laslabs.com">dave@laslabs.com</a>></li>
|
||||
<li>Graeme Gellatly <<a class="reference external" href="mailto:graeme@o4sb.com">graeme@o4sb.com</a>></li>
|
||||
<li>Laurent Mignon <<a class="reference external" href="mailto:laurent.mignon@acsone.eu">laurent.mignon@acsone.eu</a>></li>
|
||||
<li>Jose Luis Algara</li>
|
||||
<li><cite>Commit [Sun] <https://www.commitsun.com></cite>:<ul>
|
||||
<li>Dario Lodeiros</li>
|
||||
<li>Sara Lago</li>
|
||||
<li>Brais Abeijon</li>
|
||||
<li>Miguel Padin</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#id8">Maintainers</a></h2>
|
||||
<h2><a class="toc-backref" href="#id5">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/partner-contact/tree/14.0/partner_firstname">OCA/partner-contact</a> project on GitHub.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/pms/tree/14.0/pms_l10n_es">OCA/pms</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user