Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] [MIG] pos_reset_search #1030

Merged
merged 26 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
916289e
Reset product search when product is selected with mouse.
Fkawala Jan 20, 2020
357ec25
fix typo.
Fkawala Jan 20, 2020
76ec2b4
Lint fix + readme.
Jan 22, 2020
8c31930
fix website in manifest.
Jan 22, 2020
82c27d8
Built README.rst with oca-gen-addon-readme + standard icon.
Fkawala Jan 23, 2020
d94b310
Built README.rst with oca-gen-addon-readme + standard icon. contd.
Fkawala Jan 23, 2020
b3860e9
Fix ._super call.
Fkawala Jan 24, 2020
32160d9
Added myself as maintainer.
Fkawala Feb 18, 2020
01377ea
[UPD] Update pos_reset_search.pot
oca-travis Feb 18, 2020
4bb88ee
Set maintainers for three modules.
Fkawala Feb 18, 2020
e54fb3c
[UPD] README.rst
OCA-git-bot Feb 18, 2020
c540bdb
Migration to v12.
Fkawala May 13, 2020
777cc2c
[UPD] Update pos_reset_search.pot
oca-travis May 18, 2020
d88600b
[UPD] README.rst
OCA-git-bot May 18, 2020
fd2fdaf
Added translation using Weblate (Spanish)
danimv5 Jul 27, 2020
cb8c35e
[IMP] pos_reset_search: isort, black, prettier.
dsolanki-initos May 24, 2021
c51767f
[MIG] Migrate module pos_reset_search to v14.
dsolanki-initos May 24, 2021
41a49fc
[UPD] Update pos_reset_search.pot
oca-travis Sep 3, 2021
24ad966
[UPD] README.rst
OCA-git-bot Sep 3, 2021
e543133
Update translation files
oca-transbot Sep 3, 2021
8e76265
[14.0][FIX] pos_reset_search: Iterate on owl children
rousseldenis Jan 13, 2022
5c1ebf2
pos_reset_search 14.0.1.0.1
OCA-git-bot Apr 16, 2022
65e36a1
Added translation using Weblate (Italian)
mymage Apr 17, 2023
9ad2370
[IMP] pos_reset_search: black, isort, prettier
victor-champonnois Aug 2, 2023
c592397
[MIG] pos_reset_search: Migration to 15.0
victor-champonnois Aug 2, 2023
c3e205e
[MIG] pos_reset_search: Migration to 16.0
victor-champonnois Aug 2, 2023
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
90 changes: 90 additions & 0 deletions pos_reset_search/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
=============================================
Point of Sale - Clear product search on click
=============================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
:target: https://github.com/OCA/pos/tree/14.0/pos_reset_search
:alt: OCA/pos
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_reset_search
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/184/14.0
:alt: Try me on Runbot

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

The POS search workflow is to type the product name until there is only one product left to be selected. Then the user will select the product by typing on the "enter" key. To select a product clears the search. This workflow is very efficient but it requires training.

This add-on completes the POS search workflow for beginners. This add-on enables users to search and narrow down the product selection to a handful of products. The user can then use the mouse and click on the product to select. To click on the product clears the search. The default workflow is still usable for trained users. This new workflow is deemed less efficient but has proven to help beginners.

**Table of contents**

.. contents::
:local:

Usage
=====

Simply install this addon, search a product in point of sale, and click on the product you want to add to the order, you'll see the search is cleared when you click.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_reset_search%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Le Nid

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

* Le Nid
* CoopITEasy
* Dhara Solanki <dhara.solanki@initos.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-fkawala| image:: https://github.com/fkawala.png?size=40px
:target: https://github.com/fkawala
:alt: fkawala

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

|maintainer-fkawala|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added pos_reset_search/__init__.py
Empty file.
21 changes: 21 additions & 0 deletions pos_reset_search/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# @author: François Kawala
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Point of Sale - Clear product search on click",
"version": "16.0.1.0.0",
"category": "Point of Sale",
"summary": "Point of Sale - Clear product search when user clicks on a product.",
"author": "Le Nid, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"license": "AGPL-3",
"maintainers": ["fkawala"],
"depends": [
"point_of_sale",
],
"assets": {
"point_of_sale.assets": [
"/pos_reset_search/static/src/js/Screens/ProductScreen/ProductScreen.js",
],
},
"installable": True,
}
Empty file added pos_reset_search/i18n/es.po
Empty file.
14 changes: 14 additions & 0 deletions pos_reset_search/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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"
13 changes: 13 additions & 0 deletions pos_reset_search/i18n/pos_reset_search.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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"
3 changes: 3 additions & 0 deletions pos_reset_search/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Le Nid
* CoopITEasy
* Dhara Solanki <dhara.solanki@initos.com>
3 changes: 3 additions & 0 deletions pos_reset_search/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The POS search workflow is to type the product name until there is only one product left to be selected. Then the user will select the product by typing on the "enter" key. To select a product clears the search. This workflow is very efficient but it requires training.

This add-on completes the POS search workflow for beginners. This add-on enables users to search and narrow down the product selection to a handful of products. The user can then use the mouse and click on the product to select. To click on the product clears the search. The default workflow is still usable for trained users. This new workflow is deemed less efficient but has proven to help beginners.
1 change: 1 addition & 0 deletions pos_reset_search/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Simply install this addon, search a product in point of sale, and click on the product you want to add to the order, you'll see the search is cleared when you click.
Binary file added pos_reset_search/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading