From 4eab2b10a738992b71b632550a5ea1c0f9b0bbd3 Mon Sep 17 00:00:00 2001
From: Roberto Fichera
Date: Fri, 13 Dec 2019 19:32:12 +0100
Subject: [PATCH 01/31] [NEW][10.0] POS partner firstname support
---
pos_partner_firstname/README.rst | 82 ++++
pos_partner_firstname/__init__.py | 3 +
pos_partner_firstname/__manifest__.py | 28 ++
pos_partner_firstname/models/__init__.py | 3 +
pos_partner_firstname/models/res_partner.py | 15 +
pos_partner_firstname/readme/CONTRIBUTORS.rst | 1 +
pos_partner_firstname/readme/DESCRIPTION.rst | 2 +
.../static/description/index.html | 422 ++++++++++++++++++
pos_partner_firstname/static/src/js/models.js | 8 +
.../static/src/js/screens.js | 77 ++++
pos_partner_firstname/static/src/xml/pos.xml | 66 +++
pos_partner_firstname/views/assets.xml | 11 +
12 files changed, 718 insertions(+)
create mode 100644 pos_partner_firstname/README.rst
create mode 100644 pos_partner_firstname/__init__.py
create mode 100644 pos_partner_firstname/__manifest__.py
create mode 100644 pos_partner_firstname/models/__init__.py
create mode 100644 pos_partner_firstname/models/res_partner.py
create mode 100644 pos_partner_firstname/readme/CONTRIBUTORS.rst
create mode 100644 pos_partner_firstname/readme/DESCRIPTION.rst
create mode 100644 pos_partner_firstname/static/description/index.html
create mode 100644 pos_partner_firstname/static/src/js/models.js
create mode 100644 pos_partner_firstname/static/src/js/screens.js
create mode 100644 pos_partner_firstname/static/src/xml/pos.xml
create mode 100644 pos_partner_firstname/views/assets.xml
diff --git a/pos_partner_firstname/README.rst b/pos_partner_firstname/README.rst
new file mode 100644
index 0000000000..04a7abed6d
--- /dev/null
+++ b/pos_partner_firstname/README.rst
@@ -0,0 +1,82 @@
+=====================
+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/10.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-10-0/pos-10-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/10.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:
+
+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
+~~~~~~~
+
+* Roberto Fichera
+
+Contributors
+~~~~~~~~~~~~
+
+* Roberto Fichera
+
+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 `__:
+
+|maintainer-robyf70|
+
+This module is part of the `OCA/pos `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/pos_partner_firstname/__init__.py b/pos_partner_firstname/__init__.py
new file mode 100644
index 0000000000..23ac4f955b
--- /dev/null
+++ b/pos_partner_firstname/__init__.py
@@ -0,0 +1,3 @@
+# coding=utf-8
+
+from . import models
diff --git a/pos_partner_firstname/__manifest__.py b/pos_partner_firstname/__manifest__.py
new file mode 100644
index 0000000000..922a9aeb73
--- /dev/null
+++ b/pos_partner_firstname/__manifest__.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+# 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": "10.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',
+ ],
+}
diff --git a/pos_partner_firstname/models/__init__.py b/pos_partner_firstname/models/__init__.py
new file mode 100644
index 0000000000..dd1c32cbb6
--- /dev/null
+++ b/pos_partner_firstname/models/__init__.py
@@ -0,0 +1,3 @@
+# coding=utf-8
+
+from . import res_partner
diff --git a/pos_partner_firstname/models/res_partner.py b/pos_partner_firstname/models/res_partner.py
new file mode 100644
index 0000000000..28812c4939
--- /dev/null
+++ b/pos_partner_firstname/models/res_partner.py
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+# Copyright 2019 Roberto Fichera
+# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
+
+from odoo import api, models
+
+
+class ResPartner(models.Model):
+ _inherit = 'res.partner'
+
+ @api.model
+ def create_from_ui(self, partner):
+ if 'is_company' in partner:
+ partner['is_company'] = partner['is_company'] == 'true'
+ return super(ResPartner, self).create_from_ui(partner)
diff --git a/pos_partner_firstname/readme/CONTRIBUTORS.rst b/pos_partner_firstname/readme/CONTRIBUTORS.rst
new file mode 100644
index 0000000000..1577ff9176
--- /dev/null
+++ b/pos_partner_firstname/readme/CONTRIBUTORS.rst
@@ -0,0 +1 @@
+* Roberto Fichera
diff --git a/pos_partner_firstname/readme/DESCRIPTION.rst b/pos_partner_firstname/readme/DESCRIPTION.rst
new file mode 100644
index 0000000000..9bfb0cd6eb
--- /dev/null
+++ b/pos_partner_firstname/readme/DESCRIPTION.rst
@@ -0,0 +1,2 @@
+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.
diff --git a/pos_partner_firstname/static/description/index.html b/pos_partner_firstname/static/description/index.html
new file mode 100644
index 0000000000..554d238644
--- /dev/null
+++ b/pos_partner_firstname/static/description/index.html
@@ -0,0 +1,422 @@
+
+
+
+
+
+
+POS Partner Firstname
+
+
+
+
+
POS Partner Firstname
+
+
+
+
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
+
+
+
+
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.
+
+
+
+
+
+
+
+
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.
+
Current maintainer:
+
+
This module is part of the OCA/pos project on GitHub.
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
+
+
+
+
+
diff --git a/pos_partner_firstname/static/src/js/models.js b/pos_partner_firstname/static/src/js/models.js
new file mode 100644
index 0000000000..4d5051ca23
--- /dev/null
+++ b/pos_partner_firstname/static/src/js/models.js
@@ -0,0 +1,8 @@
+odoo.define('pos_partner_firstname.models', function (require) {
+ "use strict";
+
+ var models = require('point_of_sale.models');
+
+ models.load_fields("res.partner", ["is_company", "firstname", "lastname"]);
+
+});
diff --git a/pos_partner_firstname/static/src/js/screens.js b/pos_partner_firstname/static/src/js/screens.js
new file mode 100644
index 0000000000..4e0975ab6b
--- /dev/null
+++ b/pos_partner_firstname/static/src/js/screens.js
@@ -0,0 +1,77 @@
+odoo.define('pos_partner_firstname.screens', function (require) {
+ "use strict";
+
+ var Screens = require('point_of_sale.screens');
+ var Model = require('web.Model');
+
+ Screens.ClientListScreenWidget.include({
+
+ partner_names_order: 'last_first',
+
+ init: function(parent, options){
+ var self = this;
+ this._super(parent, options);
+ var P = new Model('ir.config_parameter');
+ P.call('get_param', ['partner_names_order']).then(function(partner_names_order) {
+ if (partner_names_order != false) {
+ self.partner_names_order = partner_names_order;
+ }
+ });
+ },
+
+ _update_client_name: function(checked){
+ if (!checked) {
+ var lastname = $('.lastname').val() || '';
+ var firstname = $('.firstname').val() || '';
+ var name = null;
+ if (this.partner_names_order === 'last_first_comma') {
+ name = lastname + ', ' + firstname;
+ }
+ else if (this.partner_names_order === 'first_last') {
+ name = firstname + ' ' + lastname;
+ }
+ else
+ {
+ name = lastname + ' ' + firstname;
+ }
+ $('.client-name').val(name);
+ }
+ },
+
+ display_client_details: function(visibility,partner,clickpos){
+ var self = this;
+ this._super.apply(self, arguments);
+ if (visibility === 'edit') {
+ if (!$('.is_company').is(':checked')) {
+ $('.client-name').attr('readonly', true);
+ }
+ this.$('.person').off('keyup').on('keyup', function(event) {
+ var checked = $('.is_company').is(':checked');
+ $('.client-name').attr('readonly', !checked);
+ if (!checked) {
+ self._update_client_name(checked);
+ }
+ });
+ this.$('.checkbox').off('change').on('change', function(event) {
+ this.value = this.checked;
+ if (this.name === 'is_company') {
+ var checked = this.checked;
+ $('.is_person').toArray().forEach(function(el) {
+ $(el).css('display', !checked ? 'block' : 'none');
+ });
+ var clientname = $('.client-name');
+ clientname.attr('readonly', !checked);
+ if (!checked) {
+ self._update_client_name(checked);
+ }
+ else
+ {
+ $('.lastname').val(clientname.val());
+ $('.firstname').val('');
+ }
+ };
+ });
+ }
+ },
+ });
+});
diff --git a/pos_partner_firstname/static/src/xml/pos.xml b/pos_partner_firstname/static/src/xml/pos.xml
new file mode 100644
index 0000000000..12e7f7e83a
--- /dev/null
+++ b/pos_partner_firstname/static/src/xml/pos.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pos_partner_firstname/views/assets.xml b/pos_partner_firstname/views/assets.xml
new file mode 100644
index 0000000000..9b9d6b1658
--- /dev/null
+++ b/pos_partner_firstname/views/assets.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
From 98a2aa111f3a842535c832d36c085d4aafda428d Mon Sep 17 00:00:00 2001
From: eLBati
Date: Fri, 20 Dec 2019 15:26:11 +0100
Subject: [PATCH 02/31] porting pos_partner_firstname to 12
---
pos_partner_firstname/__init__.py | 2 --
pos_partner_firstname/__manifest__.py | 3 +--
pos_partner_firstname/models/__init__.py | 2 --
pos_partner_firstname/models/res_partner.py | 1 -
pos_partner_firstname/readme/CONTRIBUTORS.rst | 1 +
pos_partner_firstname/static/src/js/screens.js | 8 +++++---
6 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/pos_partner_firstname/__init__.py b/pos_partner_firstname/__init__.py
index 23ac4f955b..0650744f6b 100644
--- a/pos_partner_firstname/__init__.py
+++ b/pos_partner_firstname/__init__.py
@@ -1,3 +1 @@
-# coding=utf-8
-
from . import models
diff --git a/pos_partner_firstname/__manifest__.py b/pos_partner_firstname/__manifest__.py
index 922a9aeb73..01ab31b380 100644
--- a/pos_partner_firstname/__manifest__.py
+++ b/pos_partner_firstname/__manifest__.py
@@ -1,11 +1,10 @@
-# -*- coding: utf-8 -*-
# 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": "10.0.1.0.0",
+ "version": "12.0.1.0.0",
"development_status": "Beta",
"category": "Point Of Sale",
"website": "https://github.com/OCA/pos",
diff --git a/pos_partner_firstname/models/__init__.py b/pos_partner_firstname/models/__init__.py
index dd1c32cbb6..91fed54d40 100644
--- a/pos_partner_firstname/models/__init__.py
+++ b/pos_partner_firstname/models/__init__.py
@@ -1,3 +1 @@
-# coding=utf-8
-
from . import res_partner
diff --git a/pos_partner_firstname/models/res_partner.py b/pos_partner_firstname/models/res_partner.py
index 28812c4939..ccfc4973bd 100644
--- a/pos_partner_firstname/models/res_partner.py
+++ b/pos_partner_firstname/models/res_partner.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# Copyright 2019 Roberto Fichera
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
diff --git a/pos_partner_firstname/readme/CONTRIBUTORS.rst b/pos_partner_firstname/readme/CONTRIBUTORS.rst
index 1577ff9176..d8df14f05e 100644
--- a/pos_partner_firstname/readme/CONTRIBUTORS.rst
+++ b/pos_partner_firstname/readme/CONTRIBUTORS.rst
@@ -1 +1,2 @@
* Roberto Fichera
+* Lorenzo Battistini (https://takobi.online)
diff --git a/pos_partner_firstname/static/src/js/screens.js b/pos_partner_firstname/static/src/js/screens.js
index 4e0975ab6b..d2023f5af6 100644
--- a/pos_partner_firstname/static/src/js/screens.js
+++ b/pos_partner_firstname/static/src/js/screens.js
@@ -2,7 +2,6 @@ odoo.define('pos_partner_firstname.screens', function (require) {
"use strict";
var Screens = require('point_of_sale.screens');
- var Model = require('web.Model');
Screens.ClientListScreenWidget.include({
@@ -11,8 +10,11 @@ odoo.define('pos_partner_firstname.screens', function (require) {
init: function(parent, options){
var self = this;
this._super(parent, options);
- var P = new Model('ir.config_parameter');
- P.call('get_param', ['partner_names_order']).then(function(partner_names_order) {
+ this._rpc({
+ model: 'ir.config_parameter',
+ method: 'get_param',
+ args: ['partner_names_order'],
+ }).then(function(partner_names_order) {
if (partner_names_order != false) {
self.partner_names_order = partner_names_order;
}
From 88d60e40ac762022979fe193f8c26452f759d19a Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Sat, 21 Dec 2019 17:34:36 +0000
Subject: [PATCH 03/31] [UPD] Update pos_partner_firstname.pot
---
.../i18n/pos_partner_firstname.pot | 44 +++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 pos_partner_firstname/i18n/pos_partner_firstname.pot
diff --git a/pos_partner_firstname/i18n/pos_partner_firstname.pot b/pos_partner_firstname/i18n/pos_partner_firstname.pot
new file mode 100644
index 0000000000..4e092b6c94
--- /dev/null
+++ b/pos_partner_firstname/i18n/pos_partner_firstname.pot
@@ -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: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \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:41
+#, 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:51
+#, python-format
+msgid "First Name"
+msgstr ""
+
+#. module: pos_partner_firstname
+#. openerp-web
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
+#, python-format
+msgid "Last Name"
+msgstr ""
+
From b52f1d427c6fcea29855535d52bd8a469aee78e5 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Sat, 21 Dec 2019 17:39:02 +0000
Subject: [PATCH 04/31] [UPD] README.rst
---
pos_partner_firstname/README.rst | 11 ++++++-----
pos_partner_firstname/static/description/index.html | 7 ++++---
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/pos_partner_firstname/README.rst b/pos_partner_firstname/README.rst
index 04a7abed6d..090a8b6cd5 100644
--- a/pos_partner_firstname/README.rst
+++ b/pos_partner_firstname/README.rst
@@ -14,13 +14,13 @@ POS Partner Firstname
: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/10.0/pos_partner_firstname
+ :target: https://github.com/OCA/pos/tree/12.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-10-0/pos-10-0-pos_partner_firstname
+ :target: https://translation.odoo-community.org/projects/pos-12-0/pos-12-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/10.0
+ :target: https://runbot.odoo-community.org/runbot/184/12.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -39,7 +39,7 @@ 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -55,6 +55,7 @@ Contributors
~~~~~~~~~~~~
* Roberto Fichera
+* Lorenzo Battistini (https://takobi.online)
Maintainers
~~~~~~~~~~~
@@ -77,6 +78,6 @@ Current `maintainer `__:
|maintainer-robyf70|
-This module is part of the `OCA/pos `_ project on GitHub.
+This module is part of the `OCA/pos `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/pos_partner_firstname/static/description/index.html b/pos_partner_firstname/static/description/index.html
index 554d238644..db8a8eca0c 100644
--- a/pos_partner_firstname/static/description/index.html
+++ b/pos_partner_firstname/static/description/index.html
@@ -367,7 +367,7 @@ POS Partner Firstname
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
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
@@ -387,7 +387,7 @@
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.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -413,7 +414,7 @@
promote its widespread use.
Current maintainer:
-
This module is part of the OCA/pos project on GitHub.
+
This module is part of the OCA/pos project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
From 2be4515861b10aa814261112c8fb03dc76d96089 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Sat, 21 Dec 2019 17:39:02 +0000
Subject: [PATCH 05/31] [ADD] icon.png
---
.../static/description/icon.png | Bin 0 -> 9455 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 pos_partner_firstname/static/description/icon.png
diff --git a/pos_partner_firstname/static/description/icon.png b/pos_partner_firstname/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d
GIT binary patch
literal 9455
zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~!
zVpnB`o+K7|Al`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DiGBo5o(tp)qli|NeV(
z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb
zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4
z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{
zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx}
z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov
zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22
zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq
zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t<
z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k
z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp
z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{}
zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N
Xviia!U7SGha1wx#SCgwmn*{w2TRX*I
literal 0
HcmV?d00001
From e60a6bb9cb195fbf5fbceb69680938e3d1904783 Mon Sep 17 00:00:00 2001
From: Carles Antoli
Date: Fri, 27 Dec 2019 17:06:08 +0000
Subject: [PATCH 06/31] Added translation using Weblate (Catalan)
---
pos_partner_firstname/i18n/ca.po | 44 ++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 pos_partner_firstname/i18n/ca.po
diff --git a/pos_partner_firstname/i18n/ca.po b/pos_partner_firstname/i18n/ca.po
new file mode 100644
index 0000000000..d85707af40
--- /dev/null
+++ b/pos_partner_firstname/i18n/ca.po
@@ -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\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:41
+#, 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:51
+#, python-format
+msgid "First Name"
+msgstr ""
+
+#. module: pos_partner_firstname
+#. openerp-web
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
+#, python-format
+msgid "Last Name"
+msgstr ""
From 0edbe36bcdcda44fd3a634f45b736153b12e8bb1 Mon Sep 17 00:00:00 2001
From: Carles Antoli
Date: Fri, 27 Dec 2019 17:06:08 +0000
Subject: [PATCH 07/31] Added translation using Weblate (Spanish)
---
pos_partner_firstname/i18n/es.po | 44 ++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 pos_partner_firstname/i18n/es.po
diff --git a/pos_partner_firstname/i18n/es.po b/pos_partner_firstname/i18n/es.po
new file mode 100644
index 0000000000..e60bf19f5e
--- /dev/null
+++ b/pos_partner_firstname/i18n/es.po
@@ -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: 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:41
+#, 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:51
+#, python-format
+msgid "First Name"
+msgstr ""
+
+#. module: pos_partner_firstname
+#. openerp-web
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
+#, python-format
+msgid "Last Name"
+msgstr ""
From ee1d6c22ace41ad1b2f5a5f3e81b6f2f9251319f Mon Sep 17 00:00:00 2001
From: Carles Antoli
Date: Fri, 27 Dec 2019 17:06:11 +0000
Subject: [PATCH 08/31] Added translation using Weblate (Catalan)
---
pos_partner_firstname/i18n/ca_ES.po | 44 +++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 pos_partner_firstname/i18n/ca_ES.po
diff --git a/pos_partner_firstname/i18n/ca_ES.po b/pos_partner_firstname/i18n/ca_ES.po
new file mode 100644
index 0000000000..8bf23da206
--- /dev/null
+++ b/pos_partner_firstname/i18n/ca_ES.po
@@ -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:41
+#, 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:51
+#, python-format
+msgid "First Name"
+msgstr ""
+
+#. module: pos_partner_firstname
+#. openerp-web
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
+#, python-format
+msgid "Last Name"
+msgstr ""
From bbaf9f9ee80724eba742f586aa6e831d84830e4e Mon Sep 17 00:00:00 2001
From: Carles Antoli
Date: Fri, 27 Dec 2019 17:09:39 +0000
Subject: [PATCH 09/31] Translated using Weblate (Catalan)
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/ca/
---
pos_partner_firstname/i18n/ca.po | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/pos_partner_firstname/i18n/ca.po b/pos_partner_firstname/i18n/ca.po
index d85707af40..85c5a9db3e 100644
--- a/pos_partner_firstname/i18n/ca.po
+++ b/pos_partner_firstname/i18n/ca.po
@@ -6,13 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2019-12-27 19:13+0000\n"
+"Last-Translator: Carles Antoli \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
@@ -20,12 +22,12 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
-msgstr ""
+msgstr "Empreses"
#. module: pos_partner_firstname
#: model:ir.model,name:pos_partner_firstname.model_res_partner
msgid "Contact"
-msgstr ""
+msgstr "Contacte"
#. module: pos_partner_firstname
#. openerp-web
@@ -33,7 +35,7 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "First Name"
-msgstr ""
+msgstr "Nom"
#. module: pos_partner_firstname
#. openerp-web
@@ -41,4 +43,4 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Last Name"
-msgstr ""
+msgstr "Cognom"
From 75be558d19b4d4b81380f87216644cd84ca6f452 Mon Sep 17 00:00:00 2001
From: Carles Antoli
Date: Fri, 27 Dec 2019 17:07:47 +0000
Subject: [PATCH 10/31] Translated using Weblate (Spanish)
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/es/
---
pos_partner_firstname/i18n/es.po | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/pos_partner_firstname/i18n/es.po b/pos_partner_firstname/i18n/es.po
index e60bf19f5e..9d60e597c2 100644
--- a/pos_partner_firstname/i18n/es.po
+++ b/pos_partner_firstname/i18n/es.po
@@ -6,13 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2019-12-27 19:13+0000\n"
+"Last-Translator: Carles Antoli \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
@@ -20,12 +22,12 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
-msgstr ""
+msgstr "Compañías"
#. module: pos_partner_firstname
#: model:ir.model,name:pos_partner_firstname.model_res_partner
msgid "Contact"
-msgstr ""
+msgstr "Contacto"
#. module: pos_partner_firstname
#. openerp-web
@@ -33,7 +35,7 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "First Name"
-msgstr ""
+msgstr "Nombre"
#. module: pos_partner_firstname
#. openerp-web
@@ -41,4 +43,4 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Last Name"
-msgstr ""
+msgstr "Apellido"
From 7d91cd070f1b062adb80af8715132fdc07159759 Mon Sep 17 00:00:00 2001
From: Sergio Zanchetta
Date: Mon, 30 Dec 2019 16:05:38 +0100
Subject: [PATCH 11/31] [FIX] new line on customer name label
---
pos_partner_firstname/static/src/xml/pos.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pos_partner_firstname/static/src/xml/pos.xml b/pos_partner_firstname/static/src/xml/pos.xml
index 12e7f7e83a..453d57526a 100644
--- a/pos_partner_firstname/static/src/xml/pos.xml
+++ b/pos_partner_firstname/static/src/xml/pos.xml
@@ -16,7 +16,7 @@
@@ -26,7 +26,7 @@
@@ -48,7 +48,7 @@
@@ -56,7 +56,7 @@
From d654e1de648a5315fc862c63cbf064d600098bbf Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Mon, 30 Dec 2019 16:27:43 +0000
Subject: [PATCH 12/31] [UPD] Update pos_partner_firstname.pot
---
pos_partner_firstname/i18n/pos_partner_firstname.pot | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pos_partner_firstname/i18n/pos_partner_firstname.pot b/pos_partner_firstname/i18n/pos_partner_firstname.pot
index 4e092b6c94..8a8d981765 100644
--- a/pos_partner_firstname/i18n/pos_partner_firstname.pot
+++ b/pos_partner_firstname/i18n/pos_partner_firstname.pot
@@ -31,7 +31,7 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
-msgid "First Name"
+msgid "Name"
msgstr ""
#. module: pos_partner_firstname
@@ -39,6 +39,6 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
-msgid "Last Name"
+msgid "Surname"
msgstr ""
From cbc4db52789bc675d4b5491b816e1da325f402d7 Mon Sep 17 00:00:00 2001
From: OCA Transbot
Date: Mon, 30 Dec 2019 16:46:23 +0000
Subject: [PATCH 13/31] Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/
---
pos_partner_firstname/i18n/ca.po | 16 ++++++++++------
pos_partner_firstname/i18n/ca_ES.po | 6 +++---
pos_partner_firstname/i18n/es.po | 16 ++++++++++------
3 files changed, 23 insertions(+), 15 deletions(-)
diff --git a/pos_partner_firstname/i18n/ca.po b/pos_partner_firstname/i18n/ca.po
index 85c5a9db3e..4a75d2ab46 100644
--- a/pos_partner_firstname/i18n/ca.po
+++ b/pos_partner_firstname/i18n/ca.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * pos_partner_firstname
+# * pos_partner_firstname
#
msgid ""
msgstr ""
@@ -33,14 +33,18 @@ msgstr "Contacte"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
-#, python-format
-msgid "First Name"
-msgstr "Nom"
+#, fuzzy, python-format
+#| msgid "Last Name"
+msgid "Name"
+msgstr "Cognom"
#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
-msgid "Last Name"
-msgstr "Cognom"
+msgid "Surname"
+msgstr ""
+
+#~ msgid "First Name"
+#~ msgstr "Nom"
diff --git a/pos_partner_firstname/i18n/ca_ES.po b/pos_partner_firstname/i18n/ca_ES.po
index 8bf23da206..fe0045fc50 100644
--- a/pos_partner_firstname/i18n/ca_ES.po
+++ b/pos_partner_firstname/i18n/ca_ES.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * pos_partner_firstname
+# * pos_partner_firstname
#
msgid ""
msgstr ""
@@ -32,7 +32,7 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
-msgid "First Name"
+msgid "Name"
msgstr ""
#. module: pos_partner_firstname
@@ -40,5 +40,5 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
-msgid "Last Name"
+msgid "Surname"
msgstr ""
diff --git a/pos_partner_firstname/i18n/es.po b/pos_partner_firstname/i18n/es.po
index 9d60e597c2..3e28e97dbc 100644
--- a/pos_partner_firstname/i18n/es.po
+++ b/pos_partner_firstname/i18n/es.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * pos_partner_firstname
+# * pos_partner_firstname
#
msgid ""
msgstr ""
@@ -33,14 +33,18 @@ msgstr "Contacto"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
-#, python-format
-msgid "First Name"
-msgstr "Nombre"
+#, fuzzy, python-format
+#| msgid "Last Name"
+msgid "Name"
+msgstr "Apellido"
#. module: pos_partner_firstname
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
-msgid "Last Name"
-msgstr "Apellido"
+msgid "Surname"
+msgstr ""
+
+#~ msgid "First Name"
+#~ msgstr "Nombre"
From 7e049f6e0b4f375b0f5274dcf2e1596df5be9891 Mon Sep 17 00:00:00 2001
From: Sergio Zanchetta
Date: Mon, 30 Dec 2019 17:03:01 +0000
Subject: [PATCH 14/31] Added translation using Weblate (Italian)
---
pos_partner_firstname/i18n/it.po | 44 ++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 pos_partner_firstname/i18n/it.po
diff --git a/pos_partner_firstname/i18n/it.po b/pos_partner_firstname/i18n/it.po
new file mode 100644
index 0000000000..7d16fb3e86
--- /dev/null
+++ b/pos_partner_firstname/i18n/it.po
@@ -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: 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"
+
+#. 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:41
+#, 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:51
+#, python-format
+msgid "Name"
+msgstr ""
+
+#. module: pos_partner_firstname
+#. openerp-web
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
+#, python-format
+msgid "Surname"
+msgstr ""
From 6cb9d71900f618fb3f0f88f87a3d628d4ef488be Mon Sep 17 00:00:00 2001
From: Sergio Zanchetta
Date: Mon, 30 Dec 2019 17:03:17 +0000
Subject: [PATCH 15/31] Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/it/
---
pos_partner_firstname/i18n/it.po | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/pos_partner_firstname/i18n/it.po b/pos_partner_firstname/i18n/it.po
index 7d16fb3e86..8f4c360fa2 100644
--- a/pos_partner_firstname/i18n/it.po
+++ b/pos_partner_firstname/i18n/it.po
@@ -6,13 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2019-12-30 19:13+0000\n"
+"Last-Translator: Sergio Zanchetta \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
@@ -20,12 +22,12 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
-msgstr ""
+msgstr "Azienda"
#. module: pos_partner_firstname
#: model:ir.model,name:pos_partner_firstname.model_res_partner
msgid "Contact"
-msgstr ""
+msgstr "Contatto"
#. module: pos_partner_firstname
#. openerp-web
@@ -33,7 +35,7 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
-msgstr ""
+msgstr "Nome"
#. module: pos_partner_firstname
#. openerp-web
@@ -41,4 +43,4 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
-msgstr ""
+msgstr "Cognome"
From a22b12ae93fbfc9665c049dd4a380c10c8671637 Mon Sep 17 00:00:00 2001
From: eLBati
Date: Tue, 21 Jan 2020 08:11:56 +0100
Subject: [PATCH 16/31] FIX pos_partner_firstname allowing non admin users to
get partner_names_order from POS frontend Otherwise they would get access
error on ir.config_parameter
Steps:
- Create a user POS manager without administration rights
- Using that user, open POS frontend
---
pos_partner_firstname/models/res_partner.py | 5 +++++
pos_partner_firstname/static/src/js/screens.js | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/pos_partner_firstname/models/res_partner.py b/pos_partner_firstname/models/res_partner.py
index ccfc4973bd..40435ee2ec 100644
--- a/pos_partner_firstname/models/res_partner.py
+++ b/pos_partner_firstname/models/res_partner.py
@@ -12,3 +12,8 @@ def create_from_ui(self, partner):
if 'is_company' in partner:
partner['is_company'] = partner['is_company'] == 'true'
return super(ResPartner, self).create_from_ui(partner)
+
+ @api.model
+ def get_names_order(self):
+ """Allow POS frontend to retrieve 'partner_names_order'"""
+ return self._get_names_order()
diff --git a/pos_partner_firstname/static/src/js/screens.js b/pos_partner_firstname/static/src/js/screens.js
index d2023f5af6..720a130d43 100644
--- a/pos_partner_firstname/static/src/js/screens.js
+++ b/pos_partner_firstname/static/src/js/screens.js
@@ -11,9 +11,9 @@ odoo.define('pos_partner_firstname.screens', function (require) {
var self = this;
this._super(parent, options);
this._rpc({
- model: 'ir.config_parameter',
- method: 'get_param',
- args: ['partner_names_order'],
+ model: 'res.partner',
+ method: 'get_names_order',
+ args: [],
}).then(function(partner_names_order) {
if (partner_names_order != false) {
self.partner_names_order = partner_names_order;
From c7cda583bdbd3bdee46037c4c4a318b2d75ee4aa Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Tue, 21 Jan 2020 19:54:31 +0000
Subject: [PATCH 17/31] pos_partner_firstname 12.0.1.1.0
---
pos_partner_firstname/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pos_partner_firstname/__manifest__.py b/pos_partner_firstname/__manifest__.py
index 01ab31b380..064231b3c5 100644
--- a/pos_partner_firstname/__manifest__.py
+++ b/pos_partner_firstname/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "POS Partner Firstname",
"summary": "POS Support of partner firstname",
- "version": "12.0.1.0.0",
+ "version": "12.0.1.1.0",
"development_status": "Beta",
"category": "Point Of Sale",
"website": "https://github.com/OCA/pos",
From 59beb22b0c7bd6edc7ed2997328ebb06cbf6db3c Mon Sep 17 00:00:00 2001
From: mtbochaca
Date: Sun, 15 Mar 2020 17:17:43 +0000
Subject: [PATCH 18/31] Translated using Weblate (Catalan)
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/ca/
---
pos_partner_firstname/i18n/ca.po | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/pos_partner_firstname/i18n/ca.po b/pos_partner_firstname/i18n/ca.po
index 4a75d2ab46..3075ce7076 100644
--- a/pos_partner_firstname/i18n/ca.po
+++ b/pos_partner_firstname/i18n/ca.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2019-12-27 19:13+0000\n"
-"Last-Translator: Carles Antoli \n"
+"PO-Revision-Date: 2020-03-15 20:13+0000\n"
+"Last-Translator: mtbochaca \n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
@@ -33,10 +33,9 @@ msgstr "Contacte"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
-#, fuzzy, python-format
-#| msgid "Last Name"
+#, python-format
msgid "Name"
-msgstr "Cognom"
+msgstr "Nom"
#. module: pos_partner_firstname
#. openerp-web
@@ -44,7 +43,7 @@ msgstr "Cognom"
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
-msgstr ""
+msgstr "Cognom"
#~ msgid "First Name"
#~ msgstr "Nom"
From 136fe3d85bf986d760f25a81ecfb54cf5a0089e0 Mon Sep 17 00:00:00 2001
From: Daniel Martinez Vila
Date: Mon, 27 Jul 2020 09:31:42 +0000
Subject: [PATCH 19/31] Translated using Weblate (Spanish)
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/es/
---
pos_partner_firstname/i18n/es.po | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/pos_partner_firstname/i18n/es.po b/pos_partner_firstname/i18n/es.po
index 3e28e97dbc..9739b35755 100644
--- a/pos_partner_firstname/i18n/es.po
+++ b/pos_partner_firstname/i18n/es.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2019-12-27 19:13+0000\n"
-"Last-Translator: Carles Antoli \n"
+"PO-Revision-Date: 2020-07-27 11:19+0000\n"
+"Last-Translator: Daniel Martinez Vila \n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
@@ -33,10 +33,9 @@ msgstr "Contacto"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
-#, fuzzy, python-format
-#| msgid "Last Name"
+#, python-format
msgid "Name"
-msgstr "Apellido"
+msgstr "Nombre"
#. module: pos_partner_firstname
#. openerp-web
@@ -44,7 +43,7 @@ msgstr "Apellido"
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
-msgstr ""
+msgstr "Apellido"
#~ msgid "First Name"
#~ msgstr "Nombre"
From 81471ebc9b5c3a2c59272c9a92ab56f08332e8f9 Mon Sep 17 00:00:00 2001
From: Julien Guenat
Date: Sat, 12 Sep 2020 17:26:24 +0000
Subject: [PATCH 20/31] Added translation using Weblate (French (Switzerland))
---
pos_partner_firstname/i18n/fr_CH.po | 44 +++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 pos_partner_firstname/i18n/fr_CH.po
diff --git a/pos_partner_firstname/i18n/fr_CH.po b/pos_partner_firstname/i18n/fr_CH.po
new file mode 100644
index 0000000000..370ca12045
--- /dev/null
+++ b/pos_partner_firstname/i18n/fr_CH.po
@@ -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: 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"
+
+#. 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:41
+#, 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:51
+#, python-format
+msgid "Name"
+msgstr ""
+
+#. module: pos_partner_firstname
+#. openerp-web
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
+#, python-format
+msgid "Surname"
+msgstr ""
From a5f7fee2ff63cedd1fcda6f37dad8d64cca60009 Mon Sep 17 00:00:00 2001
From: Julien Guenat
Date: Sat, 12 Sep 2020 17:28:04 +0000
Subject: [PATCH 21/31] Translated using Weblate (French (Switzerland))
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/fr_CH/
---
pos_partner_firstname/i18n/fr_CH.po | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/pos_partner_firstname/i18n/fr_CH.po b/pos_partner_firstname/i18n/fr_CH.po
index 370ca12045..04ff2a4ae3 100644
--- a/pos_partner_firstname/i18n/fr_CH.po
+++ b/pos_partner_firstname/i18n/fr_CH.po
@@ -6,13 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2020-09-12 20:00+0000\n"
+"Last-Translator: Julien Guenat \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
@@ -20,12 +22,12 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
-msgstr ""
+msgstr "Société"
#. module: pos_partner_firstname
#: model:ir.model,name:pos_partner_firstname.model_res_partner
msgid "Contact"
-msgstr ""
+msgstr "Contact"
#. module: pos_partner_firstname
#. openerp-web
@@ -33,7 +35,7 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
-msgstr ""
+msgstr "Nom"
#. module: pos_partner_firstname
#. openerp-web
@@ -41,4 +43,4 @@ msgstr ""
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
-msgstr ""
+msgstr "Prénom"
From b877ea8fdd5a8aa12bfeba04fe9c4ef00c3cdd76 Mon Sep 17 00:00:00 2001
From: Julien Guenat
Date: Tue, 15 Sep 2020 21:07:31 +0000
Subject: [PATCH 22/31] Translated using Weblate (French (Switzerland))
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/fr_CH/
---
pos_partner_firstname/i18n/fr_CH.po | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pos_partner_firstname/i18n/fr_CH.po b/pos_partner_firstname/i18n/fr_CH.po
index 04ff2a4ae3..14903496d4 100644
--- a/pos_partner_firstname/i18n/fr_CH.po
+++ b/pos_partner_firstname/i18n/fr_CH.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2020-09-12 20:00+0000\n"
+"PO-Revision-Date: 2020-09-15 21:13+0000\n"
"Last-Translator: Julien Guenat \n"
"Language-Team: none\n"
"Language: fr_CH\n"
@@ -35,7 +35,7 @@ msgstr "Contact"
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
-msgstr "Nom"
+msgstr "Prénom"
#. module: pos_partner_firstname
#. openerp-web
@@ -43,4 +43,4 @@ msgstr "Nom"
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
-msgstr "Prénom"
+msgstr "Nom"
From 59ff52019107900c9ea168a2010bdaa52cdbb5d4 Mon Sep 17 00:00:00 2001
From: Julien Guenat
Date: Tue, 20 Oct 2020 11:57:55 +0000
Subject: [PATCH 23/31] Translated using Weblate (French (Switzerland))
Currently translated at 100.0% (4 of 4 strings)
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/fr_CH/
---
pos_partner_firstname/i18n/fr_CH.po | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pos_partner_firstname/i18n/fr_CH.po b/pos_partner_firstname/i18n/fr_CH.po
index 14903496d4..ed4ebbef82 100644
--- a/pos_partner_firstname/i18n/fr_CH.po
+++ b/pos_partner_firstname/i18n/fr_CH.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
-"PO-Revision-Date: 2020-09-15 21:13+0000\n"
+"PO-Revision-Date: 2020-10-20 12:17+0000\n"
"Last-Translator: Julien Guenat \n"
"Language-Team: none\n"
"Language: fr_CH\n"
@@ -35,7 +35,7 @@ msgstr "Contact"
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
-msgstr "Prénom"
+msgstr "Nom"
#. module: pos_partner_firstname
#. openerp-web
@@ -43,4 +43,4 @@ msgstr "Prénom"
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
-msgstr "Nom"
+msgstr "Nom de famille"
From b461f20677bb2a01ec25c138f3f72acd487be72d Mon Sep 17 00:00:00 2001
From: eLBati
Date: Mon, 11 Jan 2021 10:14:59 +0100
Subject: [PATCH 24/31] IMP pos_partner_firstname allowing to use tab to move
from firstname to lastname
---
pos_partner_firstname/static/src/xml/pos.xml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/pos_partner_firstname/static/src/xml/pos.xml b/pos_partner_firstname/static/src/xml/pos.xml
index 453d57526a..b5adc3e12a 100644
--- a/pos_partner_firstname/static/src/xml/pos.xml
+++ b/pos_partner_firstname/static/src/xml/pos.xml
@@ -20,10 +20,6 @@
-
-
-
-
-
-
Surname
From a160f0a9e2ce998bcb676e66863f1191a477bfad Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Wed, 13 Jan 2021 16:26:07 +0000
Subject: [PATCH 25/31] [UPD] Update pos_partner_firstname.pot
---
pos_partner_firstname/i18n/pos_partner_firstname.pot | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/pos_partner_firstname/i18n/pos_partner_firstname.pot b/pos_partner_firstname/i18n/pos_partner_firstname.pot
index 8a8d981765..9d2b305735 100644
--- a/pos_partner_firstname/i18n/pos_partner_firstname.pot
+++ b/pos_partner_firstname/i18n/pos_partner_firstname.pot
@@ -16,6 +16,7 @@ msgstr ""
#. 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
@@ -29,6 +30,7 @@ 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
@@ -36,7 +38,9 @@ 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:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
From de52461a97b087c08be1c2fe156503a2a1bbefb1 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Wed, 13 Jan 2021 16:44:34 +0000
Subject: [PATCH 26/31] pos_partner_firstname 12.0.1.1.1
---
pos_partner_firstname/__manifest__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pos_partner_firstname/__manifest__.py b/pos_partner_firstname/__manifest__.py
index 064231b3c5..b6c32410d4 100644
--- a/pos_partner_firstname/__manifest__.py
+++ b/pos_partner_firstname/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "POS Partner Firstname",
"summary": "POS Support of partner firstname",
- "version": "12.0.1.1.0",
+ "version": "12.0.1.1.1",
"development_status": "Beta",
"category": "Point Of Sale",
"website": "https://github.com/OCA/pos",
From c51516c0a327540f5f138f2dcaf3b69b488ee1bc Mon Sep 17 00:00:00 2001
From: OCA Transbot
Date: Wed, 13 Jan 2021 16:45:01 +0000
Subject: [PATCH 27/31] Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/
---
pos_partner_firstname/i18n/ca.po | 4 ++++
pos_partner_firstname/i18n/ca_ES.po | 4 ++++
pos_partner_firstname/i18n/es.po | 4 ++++
pos_partner_firstname/i18n/fr_CH.po | 6 +++++-
pos_partner_firstname/i18n/it.po | 6 +++++-
5 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/pos_partner_firstname/i18n/ca.po b/pos_partner_firstname/i18n/ca.po
index 3075ce7076..c38ddcfd29 100644
--- a/pos_partner_firstname/i18n/ca.po
+++ b/pos_partner_firstname/i18n/ca.po
@@ -19,6 +19,7 @@ msgstr ""
#. 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
@@ -32,6 +33,7 @@ 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
@@ -39,7 +41,9 @@ 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:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
diff --git a/pos_partner_firstname/i18n/ca_ES.po b/pos_partner_firstname/i18n/ca_ES.po
index fe0045fc50..3e08737dcb 100644
--- a/pos_partner_firstname/i18n/ca_ES.po
+++ b/pos_partner_firstname/i18n/ca_ES.po
@@ -17,6 +17,7 @@ msgstr ""
#. 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
@@ -30,6 +31,7 @@ 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
@@ -37,7 +39,9 @@ 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:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
diff --git a/pos_partner_firstname/i18n/es.po b/pos_partner_firstname/i18n/es.po
index 9739b35755..13330b9ddf 100644
--- a/pos_partner_firstname/i18n/es.po
+++ b/pos_partner_firstname/i18n/es.po
@@ -19,6 +19,7 @@ msgstr ""
#. 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
@@ -32,6 +33,7 @@ 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
@@ -39,7 +41,9 @@ 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:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
diff --git a/pos_partner_firstname/i18n/fr_CH.po b/pos_partner_firstname/i18n/fr_CH.po
index ed4ebbef82..1accbcf503 100644
--- a/pos_partner_firstname/i18n/fr_CH.po
+++ b/pos_partner_firstname/i18n/fr_CH.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * pos_partner_firstname
+# * pos_partner_firstname
#
msgid ""
msgstr ""
@@ -19,6 +19,7 @@ msgstr ""
#. 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
@@ -32,6 +33,7 @@ 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
@@ -39,7 +41,9 @@ 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:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
diff --git a/pos_partner_firstname/i18n/it.po b/pos_partner_firstname/i18n/it.po
index 8f4c360fa2..1b2b9a2e3e 100644
--- a/pos_partner_firstname/i18n/it.po
+++ b/pos_partner_firstname/i18n/it.po
@@ -1,6 +1,6 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * pos_partner_firstname
+# * pos_partner_firstname
#
msgid ""
msgstr ""
@@ -19,6 +19,7 @@ msgstr ""
#. 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
@@ -32,6 +33,7 @@ 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
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
@@ -39,7 +41,9 @@ 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:29
+#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
From 6da268286b8124c7bd7e8bfc4af352b502076f79 Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Wed, 13 Jan 2021 17:01:44 +0000
Subject: [PATCH 28/31] [UPD] Update pos_partner_firstname.pot
---
pos_partner_firstname/i18n/pos_partner_firstname.pot | 4 ----
1 file changed, 4 deletions(-)
diff --git a/pos_partner_firstname/i18n/pos_partner_firstname.pot b/pos_partner_firstname/i18n/pos_partner_firstname.pot
index 9d2b305735..a4d8365178 100644
--- a/pos_partner_firstname/i18n/pos_partner_firstname.pot
+++ b/pos_partner_firstname/i18n/pos_partner_firstname.pot
@@ -17,7 +17,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
msgstr ""
@@ -31,7 +30,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
msgstr ""
@@ -39,9 +37,7 @@ 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:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
msgstr ""
From e4af958ee39ffb8187d72dd922f24c13426472e2 Mon Sep 17 00:00:00 2001
From: OCA Transbot
Date: Wed, 13 Jan 2021 17:03:08 +0000
Subject: [PATCH 29/31] Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: pos-12.0/pos-12.0-pos_partner_firstname
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_partner_firstname/
---
pos_partner_firstname/i18n/ca.po | 4 ----
pos_partner_firstname/i18n/ca_ES.po | 4 ----
pos_partner_firstname/i18n/es.po | 4 ----
pos_partner_firstname/i18n/fr_CH.po | 4 ----
pos_partner_firstname/i18n/it.po | 4 ----
5 files changed, 20 deletions(-)
diff --git a/pos_partner_firstname/i18n/ca.po b/pos_partner_firstname/i18n/ca.po
index c38ddcfd29..a7521e9f25 100644
--- a/pos_partner_firstname/i18n/ca.po
+++ b/pos_partner_firstname/i18n/ca.po
@@ -20,7 +20,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
msgstr "Empreses"
@@ -34,7 +33,6 @@ msgstr "Contacte"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
msgstr "Nom"
@@ -42,9 +40,7 @@ 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:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
msgstr "Cognom"
diff --git a/pos_partner_firstname/i18n/ca_ES.po b/pos_partner_firstname/i18n/ca_ES.po
index 3e08737dcb..2928d28e17 100644
--- a/pos_partner_firstname/i18n/ca_ES.po
+++ b/pos_partner_firstname/i18n/ca_ES.po
@@ -18,7 +18,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
msgstr ""
@@ -32,7 +31,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
msgstr ""
@@ -40,9 +38,7 @@ 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:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
msgstr ""
diff --git a/pos_partner_firstname/i18n/es.po b/pos_partner_firstname/i18n/es.po
index 13330b9ddf..411ef2dc68 100644
--- a/pos_partner_firstname/i18n/es.po
+++ b/pos_partner_firstname/i18n/es.po
@@ -20,7 +20,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
msgstr "Compañías"
@@ -34,7 +33,6 @@ msgstr "Contacto"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
msgstr "Nombre"
@@ -42,9 +40,7 @@ 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:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
msgstr "Apellido"
diff --git a/pos_partner_firstname/i18n/fr_CH.po b/pos_partner_firstname/i18n/fr_CH.po
index 1accbcf503..defcd7b8dd 100644
--- a/pos_partner_firstname/i18n/fr_CH.po
+++ b/pos_partner_firstname/i18n/fr_CH.po
@@ -20,7 +20,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
msgstr "Société"
@@ -34,7 +33,6 @@ msgstr "Contact"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
msgstr "Nom"
@@ -42,9 +40,7 @@ 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:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
msgstr "Nom de famille"
diff --git a/pos_partner_firstname/i18n/it.po b/pos_partner_firstname/i18n/it.po
index 1b2b9a2e3e..e7c49453e5 100644
--- a/pos_partner_firstname/i18n/it.po
+++ b/pos_partner_firstname/i18n/it.po
@@ -20,7 +20,6 @@ msgstr ""
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:8
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:37
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:41
#, python-format
msgid "Company"
msgstr "Azienda"
@@ -34,7 +33,6 @@ msgstr "Contatto"
#. openerp-web
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:19
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:47
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:51
#, python-format
msgid "Name"
msgstr "Nome"
@@ -42,9 +40,7 @@ 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:29
#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:53
-#: code:addons/pos_partner_firstname/static/src/xml/pos.xml:59
#, python-format
msgid "Surname"
msgstr "Cognome"
From b3398867274fc24c2aa15b862d2bb1a1ed8ab118 Mon Sep 17 00:00:00 2001
From: dsolanki
Date: Fri, 31 Dec 2021 15:11:18 +0530
Subject: [PATCH 30/31] [IMP] pos_partner_firstname: isort, black, prettier.
---
pos_partner_firstname/__manifest__.py | 8 +-
pos_partner_firstname/models/res_partner.py | 6 +-
pos_partner_firstname/static/src/js/models.js | 7 +-
.../static/src/js/screens.js | 96 +++++++++----------
pos_partner_firstname/static/src/xml/pos.xml | 53 +++++++---
pos_partner_firstname/views/assets.xml | 12 ++-
.../odoo/addons/pos_partner_firstname | 1 +
setup/pos_partner_firstname/setup.py | 6 ++
8 files changed, 113 insertions(+), 76 deletions(-)
create mode 120000 setup/pos_partner_firstname/odoo/addons/pos_partner_firstname
create mode 100644 setup/pos_partner_firstname/setup.py
diff --git a/pos_partner_firstname/__manifest__.py b/pos_partner_firstname/__manifest__.py
index b6c32410d4..b9b89c2eb3 100644
--- a/pos_partner_firstname/__manifest__.py
+++ b/pos_partner_firstname/__manifest__.py
@@ -18,10 +18,8 @@
"point_of_sale",
"partner_firstname",
],
- 'qweb': [
- 'static/src/xml/pos.xml'
- ],
- 'data': [
- 'views/assets.xml',
+ "qweb": ["static/src/xml/pos.xml"],
+ "data": [
+ "views/assets.xml",
],
}
diff --git a/pos_partner_firstname/models/res_partner.py b/pos_partner_firstname/models/res_partner.py
index 40435ee2ec..e21f9e43f7 100644
--- a/pos_partner_firstname/models/res_partner.py
+++ b/pos_partner_firstname/models/res_partner.py
@@ -5,12 +5,12 @@
class ResPartner(models.Model):
- _inherit = 'res.partner'
+ _inherit = "res.partner"
@api.model
def create_from_ui(self, partner):
- if 'is_company' in partner:
- partner['is_company'] = partner['is_company'] == 'true'
+ if "is_company" in partner:
+ partner["is_company"] = partner["is_company"] == "true"
return super(ResPartner, self).create_from_ui(partner)
@api.model
diff --git a/pos_partner_firstname/static/src/js/models.js b/pos_partner_firstname/static/src/js/models.js
index 4d5051ca23..486770792f 100644
--- a/pos_partner_firstname/static/src/js/models.js
+++ b/pos_partner_firstname/static/src/js/models.js
@@ -1,8 +1,7 @@
-odoo.define('pos_partner_firstname.models', function (require) {
+odoo.define("pos_partner_firstname.models", function (require) {
"use strict";
- var models = require('point_of_sale.models');
-
- models.load_fields("res.partner", ["is_company", "firstname", "lastname"]);
+ var models = require("point_of_sale.models");
+ models.load_fields("res.partner", ["is_company", "firstname", "lastname"]);
});
diff --git a/pos_partner_firstname/static/src/js/screens.js b/pos_partner_firstname/static/src/js/screens.js
index 720a130d43..577c046c47 100644
--- a/pos_partner_firstname/static/src/js/screens.js
+++ b/pos_partner_firstname/static/src/js/screens.js
@@ -1,79 +1,79 @@
-odoo.define('pos_partner_firstname.screens', function (require) {
+odoo.define("pos_partner_firstname.screens", function (require) {
"use strict";
- var Screens = require('point_of_sale.screens');
+ var Screens = require("point_of_sale.screens");
Screens.ClientListScreenWidget.include({
+ partner_names_order: "last_first",
- partner_names_order: 'last_first',
-
- init: function(parent, options){
+ init: function (parent, options) {
var self = this;
this._super(parent, options);
this._rpc({
- model: 'res.partner',
- method: 'get_names_order',
+ model: "res.partner",
+ method: "get_names_order",
args: [],
- }).then(function(partner_names_order) {
+ }).then(function (partner_names_order) {
if (partner_names_order != false) {
self.partner_names_order = partner_names_order;
}
});
},
- _update_client_name: function(checked){
+ _update_client_name: function (checked) {
if (!checked) {
- var lastname = $('.lastname').val() || '';
- var firstname = $('.firstname').val() || '';
+ var lastname = $(".lastname").val() || "";
+ var firstname = $(".firstname").val() || "";
var name = null;
- if (this.partner_names_order === 'last_first_comma') {
- name = lastname + ', ' + firstname;
- }
- else if (this.partner_names_order === 'first_last') {
- name = firstname + ' ' + lastname;
- }
- else
- {
- name = lastname + ' ' + firstname;
+ if (this.partner_names_order === "last_first_comma") {
+ name = lastname + ", " + firstname;
+ } else if (this.partner_names_order === "first_last") {
+ name = firstname + " " + lastname;
+ } else {
+ name = lastname + " " + firstname;
}
- $('.client-name').val(name);
+ $(".client-name").val(name);
}
},
- display_client_details: function(visibility,partner,clickpos){
+ display_client_details: function (visibility, partner, clickpos) {
var self = this;
this._super.apply(self, arguments);
- if (visibility === 'edit') {
- if (!$('.is_company').is(':checked')) {
- $('.client-name').attr('readonly', true);
+ if (visibility === "edit") {
+ if (!$(".is_company").is(":checked")) {
+ $(".client-name").attr("readonly", true);
}
- this.$('.person').off('keyup').on('keyup', function(event) {
- var checked = $('.is_company').is(':checked');
- $('.client-name').attr('readonly', !checked);
- if (!checked) {
- self._update_client_name(checked);
- }
- });
- this.$('.checkbox').off('change').on('change', function(event) {
- this.value = this.checked;
- if (this.name === 'is_company') {
- var checked = this.checked;
- $('.is_person').toArray().forEach(function(el) {
- $(el).css('display', !checked ? 'block' : 'none');
- });
- var clientname = $('.client-name');
- clientname.attr('readonly', !checked);
+ this.$(".person")
+ .off("keyup")
+ .on("keyup", function (event) {
+ var checked = $(".is_company").is(":checked");
+ $(".client-name").attr("readonly", !checked);
if (!checked) {
self._update_client_name(checked);
}
- else
- {
- $('.lastname').val(clientname.val());
- $('.firstname').val('');
+ });
+ this.$(".checkbox")
+ .off("change")
+ .on("change", function (event) {
+ this.value = this.checked;
+ if (this.name === "is_company") {
+ var checked = this.checked;
+ $(".is_person")
+ .toArray()
+ .forEach(function (el) {
+ $(el).css("display", !checked ? "block" : "none");
+ });
+ var clientname = $(".client-name");
+ clientname.attr("readonly", !checked);
+ if (!checked) {
+ self._update_client_name(checked);
+ } else {
+ $(".lastname").val(clientname.val());
+ $(".firstname").val("");
+ }
}
- };
- });
+ });
}
},
- });
+ });
});
diff --git a/pos_partner_firstname/static/src/xml/pos.xml b/pos_partner_firstname/static/src/xml/pos.xml
index b5adc3e12a..efc0cd6556 100644
--- a/pos_partner_firstname/static/src/xml/pos.xml
+++ b/pos_partner_firstname/static/src/xml/pos.xml
@@ -1,4 +1,4 @@
-
+
@@ -6,9 +6,14 @@
@@ -17,13 +22,17 @@
@@ -35,23 +44,41 @@
-
+
-
+
diff --git a/pos_partner_firstname/views/assets.xml b/pos_partner_firstname/views/assets.xml
index 9b9d6b1658..a150f7e008 100644
--- a/pos_partner_firstname/views/assets.xml
+++ b/pos_partner_firstname/views/assets.xml
@@ -1,10 +1,16 @@
-
+
-
-
+
+
diff --git a/setup/pos_partner_firstname/odoo/addons/pos_partner_firstname b/setup/pos_partner_firstname/odoo/addons/pos_partner_firstname
new file mode 120000
index 0000000000..1a48c9171a
--- /dev/null
+++ b/setup/pos_partner_firstname/odoo/addons/pos_partner_firstname
@@ -0,0 +1 @@
+../../../../pos_partner_firstname
\ No newline at end of file
diff --git a/setup/pos_partner_firstname/setup.py b/setup/pos_partner_firstname/setup.py
new file mode 100644
index 0000000000..28c57bb640
--- /dev/null
+++ b/setup/pos_partner_firstname/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)
From 4746d25ae74e06495f4f7050c48c1522611ed421 Mon Sep 17 00:00:00 2001
From: Roberto Fichera
Date: Wed, 19 Jan 2022 12:32:28 +0530
Subject: [PATCH 31/31] [MIG] Migrate module pos_partner_firstname to v14.
---
oca_dependencies.txt | 2 +-
pos_partner_firstname/README.rst | 23 +++-
pos_partner_firstname/__manifest__.py | 3 +-
pos_partner_firstname/models/res_partner.py | 6 -
pos_partner_firstname/readme/CONTRIBUTORS.rst | 1 +
pos_partner_firstname/readme/ROADMAP.rst | 8 ++
.../static/description/index.html | 41 ++++---
.../static/src/js/ClientDetailsEdit.js | 99 ++++++++++++++++
.../static/src/js/ClientScreen.js | 20 ++++
pos_partner_firstname/static/src/js/models.js | 4 +-
.../static/src/js/screens.js | 79 ------------
pos_partner_firstname/static/src/xml/pos.xml | 112 +++++++-----------
pos_partner_firstname/views/assets.xml | 6 +-
13 files changed, 223 insertions(+), 181 deletions(-)
create mode 100644 pos_partner_firstname/readme/ROADMAP.rst
create mode 100644 pos_partner_firstname/static/src/js/ClientDetailsEdit.js
create mode 100644 pos_partner_firstname/static/src/js/ClientScreen.js
delete mode 100644 pos_partner_firstname/static/src/js/screens.js
diff --git a/oca_dependencies.txt b/oca_dependencies.txt
index ca3c726ba2..b0f1193f7d 100644
--- a/oca_dependencies.txt
+++ b/oca_dependencies.txt
@@ -1 +1 @@
-# See https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#oca_dependencies-txt
+partner-contact
diff --git a/pos_partner_firstname/README.rst b/pos_partner_firstname/README.rst
index 090a8b6cd5..f935eaffcc 100644
--- a/pos_partner_firstname/README.rst
+++ b/pos_partner_firstname/README.rst
@@ -14,13 +14,13 @@ POS Partner Firstname
: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/12.0/pos_partner_firstname
+ :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-12-0/pos-12-0-pos_partner_firstname
+ :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/12.0
+ :target: https://runbot.odoo-community.org/runbot/184/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -33,13 +33,25 @@ allowing to view and edit them in the given customer view.
.. 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 `_.
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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -56,6 +68,7 @@ Contributors
* Roberto Fichera
* Lorenzo Battistini (https://takobi.online)
+* Dhara Solanki
Maintainers
~~~~~~~~~~~
@@ -78,6 +91,6 @@ Current `maintainer `__:
|maintainer-robyf70|
-This module is part of the `OCA/pos `_ project on GitHub.
+This module is part of the `OCA/pos `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/pos_partner_firstname/__manifest__.py b/pos_partner_firstname/__manifest__.py
index b9b89c2eb3..5d98984a08 100644
--- a/pos_partner_firstname/__manifest__.py
+++ b/pos_partner_firstname/__manifest__.py
@@ -1,10 +1,11 @@
+# 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": "12.0.1.1.1",
+ "version": "14.0.1.0.0",
"development_status": "Beta",
"category": "Point Of Sale",
"website": "https://github.com/OCA/pos",
diff --git a/pos_partner_firstname/models/res_partner.py b/pos_partner_firstname/models/res_partner.py
index e21f9e43f7..9bdd55bb31 100644
--- a/pos_partner_firstname/models/res_partner.py
+++ b/pos_partner_firstname/models/res_partner.py
@@ -7,12 +7,6 @@
class ResPartner(models.Model):
_inherit = "res.partner"
- @api.model
- def create_from_ui(self, partner):
- if "is_company" in partner:
- partner["is_company"] = partner["is_company"] == "true"
- return super(ResPartner, self).create_from_ui(partner)
-
@api.model
def get_names_order(self):
"""Allow POS frontend to retrieve 'partner_names_order'"""
diff --git a/pos_partner_firstname/readme/CONTRIBUTORS.rst b/pos_partner_firstname/readme/CONTRIBUTORS.rst
index d8df14f05e..90462160ec 100644
--- a/pos_partner_firstname/readme/CONTRIBUTORS.rst
+++ b/pos_partner_firstname/readme/CONTRIBUTORS.rst
@@ -1,2 +1,3 @@
* Roberto Fichera
* Lorenzo Battistini (https://takobi.online)
+* Dhara Solanki
diff --git a/pos_partner_firstname/readme/ROADMAP.rst b/pos_partner_firstname/readme/ROADMAP.rst
new file mode 100644
index 0000000000..9497837000
--- /dev/null
+++ b/pos_partner_firstname/readme/ROADMAP.rst
@@ -0,0 +1,8 @@
+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
diff --git a/pos_partner_firstname/static/description/index.html b/pos_partner_firstname/static/description/index.html
index db8a8eca0c..b025a92c7d 100644
--- a/pos_partner_firstname/static/description/index.html
+++ b/pos_partner_firstname/static/description/index.html
@@ -3,7 +3,7 @@
-
+
POS Partner Firstname