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

[14.0] [mig] pos_partner_firstname #775

Merged
merged 31 commits into from
Apr 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4eab2b1
[NEW][10.0] POS partner firstname support
robyf70 Dec 13, 2019
98a2aa1
porting pos_partner_firstname to 12
eLBati Dec 20, 2019
88d60e4
[UPD] Update pos_partner_firstname.pot
oca-travis Dec 21, 2019
b52f1d4
[UPD] README.rst
OCA-git-bot Dec 21, 2019
2be4515
[ADD] icon.png
OCA-git-bot Dec 21, 2019
e60a6bb
Added translation using Weblate (Catalan)
CarlesAntoli Dec 27, 2019
0edbe36
Added translation using Weblate (Spanish)
CarlesAntoli Dec 27, 2019
ee1d6c2
Added translation using Weblate (Catalan)
CarlesAntoli Dec 27, 2019
bbaf9f9
Translated using Weblate (Catalan)
CarlesAntoli Dec 27, 2019
75be558
Translated using Weblate (Spanish)
CarlesAntoli Dec 27, 2019
7d91cd0
[FIX] new line on customer name label
primes2h Dec 30, 2019
d654e1d
[UPD] Update pos_partner_firstname.pot
oca-travis Dec 30, 2019
cbc4db5
Update translation files
oca-transbot Dec 30, 2019
7e049f6
Added translation using Weblate (Italian)
primes2h Dec 30, 2019
6cb9d71
Translated using Weblate (Italian)
primes2h Dec 30, 2019
a22b12a
FIX pos_partner_firstname allowing non admin users to get partner_nam…
eLBati Jan 21, 2020
c7cda58
pos_partner_firstname 12.0.1.1.0
OCA-git-bot Jan 21, 2020
59beb22
Translated using Weblate (Catalan)
mtbochaca Mar 15, 2020
136fe3d
Translated using Weblate (Spanish)
danimv5 Jul 27, 2020
81471eb
Added translation using Weblate (French (Switzerland))
jguenat Sep 12, 2020
a5f7fee
Translated using Weblate (French (Switzerland))
jguenat Sep 12, 2020
b877ea8
Translated using Weblate (French (Switzerland))
jguenat Sep 15, 2020
59ff520
Translated using Weblate (French (Switzerland))
jguenat Oct 20, 2020
b461f20
IMP pos_partner_firstname allowing to use tab to move from firstname …
eLBati Jan 11, 2021
a160f0a
[UPD] Update pos_partner_firstname.pot
oca-travis Jan 13, 2021
de52461
pos_partner_firstname 12.0.1.1.1
OCA-git-bot Jan 13, 2021
c51516c
Update translation files
oca-transbot Jan 13, 2021
6da2682
[UPD] Update pos_partner_firstname.pot
oca-travis Jan 13, 2021
e4af958
Update translation files
oca-transbot Jan 13, 2021
b339886
[IMP] pos_partner_firstname: isort, black, prettier.
dsolanki-initos Dec 31, 2021
4746d25
[MIG] Migrate module pos_partner_firstname to v14.
robyf70 Jan 19, 2022
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
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 <roberto.fichera@levelprime.com>
* Lorenzo Battistini (https://takobi.online)
* Dhara Solanki <dhara.solanki@initos.com>

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 <mtbochaca@gmail.com>\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 <daniel.martinez@qubiq.es>\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 <julien.guenat@geckoescalade.ch>\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 <primes2h@gmail.com>\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