Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
118 changes: 118 additions & 0 deletions pos_customer_comment/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
===============================
Point of Sale - Cashier Comment
===============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4fdce9773e5d7b56fcdad47f1d9d5e8beb3fd5dc302b49c4540dbc3292eba623
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/16.0/pos_customer_comment
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-16-0/pos-16-0-pos_customer_comment
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=16.0
:alt: Try me on Runboat

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

This module extends the functionality of point of sale module, to allow display and edit
customer note field in the point of sale UI for the cashier.

**Table of contents**

.. contents::
:local:

Usage
=====

* Go to your partner view and write or edit new PoS comments

.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_customer_comment/static/description/res_partner_form.png

* Then Open your Point of sale

in the customer tree view, a new icon is available to mention that the customer
has a PoS Comment to read:

.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_customer_comment/static/description/pos_customer_tree.png

It is possible to see or edit the comment in the customer form view:

.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_customer_comment/static/description/pos_customer_form.png

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

For the time being, there is no HTML widget available in the point of sale.
For that reason, the Cashier comment (``pos_comment``) is a simple Text field.
If a widget is available in odoo, it could be great to switch to a HTML field text.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_customer_comment%0Aversion:%2016.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
~~~~~~~

* GRAP

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

* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Juan Carlos Bonilla <juancarlos.bonilla@factorlibre.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* UGESS, Union Nationale des Groupements des épiceries Sociales et Solidaires (https://ugess.org/)

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

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

|maintainer-legalsylvain|

This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/16.0/pos_customer_comment>`_ 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_customer_comment/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
34 changes: 34 additions & 0 deletions pos_customer_comment/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (C) 2022-Today GRAP (http://www.grap.coop)
# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Point of Sale - Cashier Comment",
"summary": "Display Customer comment in the PoS front office and allow"
" to edit and save it by the cashier",
"version": "18.0.1.0.0",
"category": "Point of Sale",
"maintainers": ["legalsylvain"],
"author": "GRAP,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"license": "AGPL-3",
"depends": ["point_of_sale"],
"data": [
"views/view_res_partner.xml",
],
"assets": {
"point_of_sale.assets": [
"pos_customer_comment/static/src/css/pos_customer_comment.scss",
"pos_customer_comment/static/src/xml/PartnerDetailsEdit.xml",
"pos_customer_comment/static/src/xml/PartnerLine.xml",
"pos_customer_comment/static/src/js/PartnerDetailsEdit.esm.js",
],
"web.assets_tests": [
"pos_customer_comment/static/tests/tours/PosCustomerComment.tour.esm.js",
],
},
"demo": [
"demo/res_partner.xml",
],
"installable": True,
}
13 changes: 13 additions & 0 deletions pos_customer_comment/demo/res_partner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2022-Today GRAP (http://www.grap.coop)
@author Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
-->
<odoo>
<record id="base.res_partner_address_31" model="res.partner">
<field
name="pos_comment"
>Important information to display in Point of Sale</field>
</record>
</odoo>
65 changes: 65 additions & 0 deletions pos_customer_comment/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_customer_comment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-03-02 16:30+0000\n"
"Last-Translator: Patricia Lorenzo Bartolomé <lb.patri@gmail.com>\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 4.14.1\n"

#. module: pos_customer_comment
#: model:ir.model.fields,field_description:pos_customer_comment.field_res_partner__pos_comment
#: model:ir.model.fields,field_description:pos_customer_comment.field_res_users__pos_comment
#: model_terms:ir.ui.view,arch_db:pos_customer_comment.view_res_partner_form
msgid "Cashier Comment"
msgstr "Comentario del cajero"

#. module: pos_customer_comment
#. odoo-javascript
#: code:addons/pos_customer_comment/static/src/xml/PartnerDetailsEdit.xml:0
#, python-format
msgid "Comment"
msgstr "Comentario"

#. module: pos_customer_comment
#: model:ir.model.fields,help:pos_customer_comment.field_res_partner__pos_comment
#: model:ir.model.fields,help:pos_customer_comment.field_res_users__pos_comment
msgid ""
"Comment that will be visible and editable in the Point of Sale for the "
"cashiers"
msgstr ""
"Comentario que será visible y editable en el punto de venta para los cajeros"

#. module: pos_customer_comment
#: model_terms:ir.ui.view,arch_db:pos_customer_comment.view_res_partner_form
msgid ""
"Comment that will be visible and editable in the Point of Sale for the "
"cashiers"
msgstr ""
"Comentario que será visible y editable en el punto de venta para los cajeros"

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

#. module: pos_customer_comment
#. odoo-javascript
#: code:addons/pos_customer_comment/static/src/xml/PartnerLine.xml:0
#, python-format
msgid "Has PoS Comment"
msgstr "Tiene comentarios en el punto de venta"

#. module: pos_customer_comment
#: model:ir.model,name:pos_customer_comment.model_pos_session
msgid "Point of Sale Session"
msgstr "Sesión TPV"
65 changes: 65 additions & 0 deletions pos_customer_comment/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_customer_comment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-10 12:38+0000\n"
"Last-Translator: LESTRAT21 <elodie@comptoirdecampagne.fr>\n"
"Language-Team: none\n"
"Language: fr\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 4.17\n"

#. module: pos_customer_comment
#: model:ir.model.fields,field_description:pos_customer_comment.field_res_partner__pos_comment
#: model:ir.model.fields,field_description:pos_customer_comment.field_res_users__pos_comment
#: model_terms:ir.ui.view,arch_db:pos_customer_comment.view_res_partner_form
msgid "Cashier Comment"
msgstr "Commentaire visible en caisse"

#. module: pos_customer_comment
#. odoo-javascript
#: code:addons/pos_customer_comment/static/src/xml/PartnerDetailsEdit.xml:0
#: code:addons/pos_customer_comment/static/src/xml/PartnerDetailsEdit.xml:0
#, python-format
msgid "Comment"
msgstr "Commentaire"

#. module: pos_customer_comment
#: model:ir.model.fields,help:pos_customer_comment.field_res_partner__pos_comment
#: model:ir.model.fields,help:pos_customer_comment.field_res_users__pos_comment
msgid ""
"Comment that will be visible and editable in the Point of Sale for the "
"cashiers"
msgstr "Commentaire visible et modifiable par la personne en caisse"

#. module: pos_customer_comment
#: model_terms:ir.ui.view,arch_db:pos_customer_comment.view_res_partner_form
msgid ""
"Comment that will be visible and editable in the Point of Sale for the "
"cashiers"
msgstr "Commentaire visible et modifiable par la personne en caisse"

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

#. module: pos_customer_comment
#. odoo-javascript
#: code:addons/pos_customer_comment/static/src/xml/PartnerLine.xml:0
#: code:addons/pos_customer_comment/static/src/xml/PartnerLine.xml:0
#, python-format
msgid "Has PoS Comment"
msgstr "Il existe un commentaire pour ce client"

#. module: pos_customer_comment
#: model:ir.model,name:pos_customer_comment.model_pos_session
msgid "Point of Sale Session"
msgstr "Session de caisse"
67 changes: 67 additions & 0 deletions pos_customer_comment/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_customer_comment
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-03-09 13:22+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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 4.14.1\n"

#. module: pos_customer_comment
#: model:ir.model.fields,field_description:pos_customer_comment.field_res_partner__pos_comment
#: model:ir.model.fields,field_description:pos_customer_comment.field_res_users__pos_comment
#: model_terms:ir.ui.view,arch_db:pos_customer_comment.view_res_partner_form
msgid "Cashier Comment"
msgstr "Commento cassiere"

#. module: pos_customer_comment
#. odoo-javascript
#: code:addons/pos_customer_comment/static/src/xml/PartnerDetailsEdit.xml:0
#, python-format
msgid "Comment"
msgstr "Commento"

#. module: pos_customer_comment
#: model:ir.model.fields,help:pos_customer_comment.field_res_partner__pos_comment
#: model:ir.model.fields,help:pos_customer_comment.field_res_users__pos_comment
msgid ""
"Comment that will be visible and editable in the Point of Sale for the "
"cashiers"
msgstr ""
"Commento per il cassiere che può essere visibile e mdificabile nel punto "
"vendita"

#. module: pos_customer_comment
#: model_terms:ir.ui.view,arch_db:pos_customer_comment.view_res_partner_form
msgid ""
"Comment that will be visible and editable in the Point of Sale for the "
"cashiers"
msgstr ""
"Commento per il cassiere che può essere visibile e mdificabile nel punto "
"vendita"

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

#. module: pos_customer_comment
#. odoo-javascript
#: code:addons/pos_customer_comment/static/src/xml/PartnerLine.xml:0
#, python-format
msgid "Has PoS Comment"
msgstr "Ha commento PoS"

#. module: pos_customer_comment
#: model:ir.model,name:pos_customer_comment.model_pos_session
msgid "Point of Sale Session"
msgstr "Sessione punto vendita"
Loading
Loading