Skip to content

Commit

Permalink
Merge PR OCA#775 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by legalsylvain
  • Loading branch information
OCA-git-bot committed Apr 12, 2022
2 parents e6e4d6b + 4746d25 commit 2d8ddf7
Show file tree
Hide file tree
Showing 24 changed files with 1,074 additions and 1 deletion.
2 changes: 1 addition & 1 deletion oca_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# See https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#oca_dependencies-txt
partner-contact
96 changes: 96 additions & 0 deletions pos_partner_firstname/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
=====================
POS Partner Firstname
=====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/14.0/pos_partner_firstname
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_partner_firstname
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/184/14.0
:alt: Try me on Runbot

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

The module adds the support of the fields of the partner_firstname module within the point of sale interface,
allowing to view and edit them in the given customer view.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

Some features we would need to cover in the future:

* When the field ``name`` is set to be readonly the module must prevent the field to have red border and the possibility to have the cursor, and change the background color of the name field could be user friendly.
* In back office, the name *OR* the surname is mandatory. In front office, the name *AND* the surname is mandatory. Should be great to have a similar behaviour.
* In back office, default is "company". In front office, default is "individual". The behaviour should however depend by *B2B* or *B2C* setting in order to set the right default.
* In individual mode, in back office, it is possible to select the parent company. In individual mode, in front office, it is not possible. However we would also have to say that odoo doesn't permit the parent company selection.

The ticket referencing the above information can be read at https://github.com/OCA/pos/pull/775

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/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/pos/issues/new?body=module:%20pos_partner_firstname%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.

Credits
=======

Authors
~~~~~~~

* Roberto Fichera

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

* Roberto Fichera <[email protected]>
* Lorenzo Battistini (https://takobi.online)
* Dhara Solanki <[email protected]>

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

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

|maintainer-robyf70|

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/14.0/pos_partner_firstname>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions pos_partner_firstname/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions pos_partner_firstname/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2021 initOS Gmbh
# Copyright 2019 Roberto Fichera
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "POS Partner Firstname",
"summary": "POS Support of partner firstname",
"version": "14.0.1.0.0",
"development_status": "Beta",
"category": "Point Of Sale",
"website": "https://github.com/OCA/pos",
"author": "Roberto Fichera, Odoo Community Association (OCA)",
"maintainers": ["robyf70"],
"license": "AGPL-3",
"application": False,
"installable": True,
"auto_install": True,
"depends": [
"point_of_sale",
"partner_firstname",
],
"qweb": ["static/src/xml/pos.xml"],
"data": [
"views/assets.xml",
],
}
49 changes: 49 additions & 0 deletions pos_partner_firstname/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_partner_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-03-15 20:13+0000\n"
"Last-Translator: mtbochaca <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\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 3.10\n"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
#, python-format
msgid "Company"
msgstr "Empreses"

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

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
#, python-format
msgid "Name"
msgstr "Nom"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:25
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#, python-format
msgid "Surname"
msgstr "Cognom"

#~ msgid "First Name"
#~ msgstr "Nom"
44 changes: 44 additions & 0 deletions pos_partner_firstname/i18n/ca_ES.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_partner_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ca_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"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
#, python-format
msgid "Company"
msgstr ""

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

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
#, python-format
msgid "Name"
msgstr ""

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:25
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#, python-format
msgid "Surname"
msgstr ""
49 changes: 49 additions & 0 deletions pos_partner_firstname/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_partner_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-07-27 11:19+0000\n"
"Last-Translator: Daniel Martinez Vila <[email protected]>\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 3.10\n"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
#, python-format
msgid "Company"
msgstr "Compañías"

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

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
#, python-format
msgid "Name"
msgstr "Nombre"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:25
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#, python-format
msgid "Surname"
msgstr "Apellido"

#~ msgid "First Name"
#~ msgstr "Nombre"
46 changes: 46 additions & 0 deletions pos_partner_firstname/i18n/fr_CH.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_partner_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-10-20 12:17+0000\n"
"Last-Translator: Julien Guenat <[email protected]>\n"
"Language-Team: none\n"
"Language: fr_CH\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 3.10\n"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
#, python-format
msgid "Company"
msgstr "Société"

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

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
#, python-format
msgid "Name"
msgstr "Nom"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:25
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#, python-format
msgid "Surname"
msgstr "Nom de famille"
46 changes: 46 additions & 0 deletions pos_partner_firstname/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_partner_firstname
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-12-30 19:13+0000\n"
"Last-Translator: Sergio Zanchetta <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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 3.10\n"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
#, python-format
msgid "Company"
msgstr "Azienda"

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

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
#, python-format
msgid "Name"
msgstr "Nome"

#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:25
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#, python-format
msgid "Surname"
msgstr "Cognome"
Loading

0 comments on commit 2d8ddf7

Please sign in to comment.