+ Print Kitchen receipts automatically once the payment is registered
+
+
+
+
+
+
+ Show Print kitchen receipt Button on Receipt Screen
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pos_edit_order_line/README.rst b/pos_edit_order_line/README.rst
new file mode 100644
index 0000000..61dca0f
--- /dev/null
+++ b/pos_edit_order_line/README.rst
@@ -0,0 +1,97 @@
+===================
+POS Edit Order Line
+===================
+
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! 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-LGPL--3-blue.png
+ :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
+ :alt: License: LGPL-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_edit_order_line
+ :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_edit_order_line
+ :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/16.0
+ :alt: Try me on Runbot
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
+
+This module adds a button "Edit order lines" in main POS interface to allow an easier UX for cashier when editing product price, qty and discount.
+
+On button click, a popup with order lines allows user to input a clear value for each field, instead of having to use the default process of selecting which field to edit, which is not very intuitive and error-prone.
+
+.. image:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_edit_order_line/static/description/pos_edit_order_line.png
+ :alt: Display Edit Order Line Popup
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Configuration
+=============
+
+Select PoS > configuration > enable flag "Allow Edit Order Line"
+To improve usability when there are more than 3 order lines, we suggest activating the "Large scrollbars" POS setting.
+
+Changelog
+=========
+
+14.0.1.0.0
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+* Initial release
+
+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
+~~~~~~~
+
+* Ooops
+* Cetmix
+
+Contributors
+~~~~~~~~~~~~
+
+* Ooops404
+* Cetmix
+* `Acsone `_:
+
+ * Maxime Franco
+
+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.
+
+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_edit_order_line/__init__.py b/pos_edit_order_line/__init__.py
new file mode 100644
index 0000000..0650744
--- /dev/null
+++ b/pos_edit_order_line/__init__.py
@@ -0,0 +1 @@
+from . import models
diff --git a/pos_edit_order_line/__manifest__.py b/pos_edit_order_line/__manifest__.py
new file mode 100644
index 0000000..ead354b
--- /dev/null
+++ b/pos_edit_order_line/__manifest__.py
@@ -0,0 +1,28 @@
+# copyright 2022 Dinar Gabbasov
+# Copyright 2022 Ooops404
+# Copyright 2022 Cetmix
+# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
+
+{
+ "name": "POS Edit Order Line",
+ "version": "16.0.1.0.1",
+ "summary": "POS Edit Order Line",
+ "author": "Ooops, Cetmix, Odoo Community Association (OCA)",
+ "contributors": "Cetmix",
+ "license": "LGPL-3",
+ "category": "Point of Sale",
+ "website": "https://github.com/OCA/pos",
+ "depends": ["point_of_sale"],
+ "external_dependencies": {},
+ "demo": [],
+ "data": ["views/res_config_settings_view.xml"],
+ "assets": {
+ "point_of_sale.assets": [
+ "pos_edit_order_line/static/src/css/pos.css",
+ "pos_edit_order_line/static/src/js/*.js",
+ "pos_edit_order_line/static/src/xml/*.xml",
+ ],
+ },
+ "installable": True,
+ "application": False,
+}
diff --git a/pos_edit_order_line/i18n/es.po b/pos_edit_order_line/i18n/es.po
new file mode 100644
index 0000000..dc94085
--- /dev/null
+++ b/pos_edit_order_line/i18n/es.po
@@ -0,0 +1,115 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * pos_edit_order_line
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 16.0\n"
+"Report-Msgid-Bugs-To: \n"
+"PO-Revision-Date: 2023-03-06 18:23+0000\n"
+"Last-Translator: Fernando \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_edit_order_line
+#: model:ir.model.fields,field_description:pos_edit_order_line.field_pos_config__allow_edit_order_line
+#: model:ir.model.fields,field_description:pos_edit_order_line.field_res_config_settings__pos_allow_edit_order_line
+msgid "Allow Edit Order Line"
+msgstr "Permitir editar ticket"
+
+#. module: pos_edit_order_line
+#: model_terms:ir.ui.view,arch_db:pos_edit_order_line.res_config_settings_view_form
+msgid "Allow edit Order Line in popup"
+msgstr "Permitir editar ticket en un popup"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderPopup.js:0
+#, python-format
+msgid "Cancel"
+msgstr ""
+
+#. module: pos_edit_order_line
+#: model:ir.model,name:pos_edit_order_line.model_res_config_settings
+msgid "Config Settings"
+msgstr "Configuración"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Discount"
+msgstr "Descuento"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "Edit Order Line"
+msgstr "Editar ticket"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderButton.xml:0
+#, python-format
+msgid "Edit Order Lines"
+msgstr "Editar ticket"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "Empty Order"
+msgstr "Ticket vacío"
+
+#. module: pos_edit_order_line
+#: model:ir.model,name:pos_edit_order_line.model_pos_config
+msgid "Point of Sale Configuration"
+msgstr "Configuración TPV"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Price"
+msgstr "Precio"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Product"
+msgstr "Producto"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Quantity"
+msgstr "Cantidad"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderPopup.js:0
+#, python-format
+msgid "Save"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "UoM"
+msgstr "UdM"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "You need add some products first"
+msgstr "Primero añada productos"
diff --git a/pos_edit_order_line/i18n/it.po b/pos_edit_order_line/i18n/it.po
new file mode 100644
index 0000000..68c235a
--- /dev/null
+++ b/pos_edit_order_line/i18n/it.po
@@ -0,0 +1,124 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * pos_edit_order_line
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 14.0\n"
+"Report-Msgid-Bugs-To: \n"
+"PO-Revision-Date: 2023-03-30 10:23+0000\n"
+"Last-Translator: mymage \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_edit_order_line
+#: model:ir.model.fields,field_description:pos_edit_order_line.field_pos_config__allow_edit_order_line
+#: model:ir.model.fields,field_description:pos_edit_order_line.field_res_config_settings__pos_allow_edit_order_line
+msgid "Allow Edit Order Line"
+msgstr "Abilita la modifica righe ordine con popup"
+
+#. module: pos_edit_order_line
+#: model_terms:ir.ui.view,arch_db:pos_edit_order_line.res_config_settings_view_form
+msgid "Allow edit Order Line in popup"
+msgstr "Abilita la modifica righe ordine con popup"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderPopup.js:0
+#, python-format
+msgid "Cancel"
+msgstr "Annulla"
+
+#. module: pos_edit_order_line
+#: model:ir.model,name:pos_edit_order_line.model_res_config_settings
+msgid "Config Settings"
+msgstr "Impostazioni configurazione"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Discount"
+msgstr "Sconto"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "Edit Order Line"
+msgstr "Modifica righe ordine"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderButton.xml:0
+#, python-format
+msgid "Edit Order Lines"
+msgstr "Modifica righe ordine"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "Empty Order"
+msgstr "Svuota ordine"
+
+#. module: pos_edit_order_line
+#: model:ir.model,name:pos_edit_order_line.model_pos_config
+msgid "Point of Sale Configuration"
+msgstr "Configurazione punto vendita"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Price"
+msgstr "Prezzo"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Product"
+msgstr "Prodotto"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Quantity"
+msgstr "Quantità"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderPopup.js:0
+#, python-format
+msgid "Save"
+msgstr "Salva"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "UoM"
+msgstr "UdM"
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "You need add some products first"
+msgstr "È necessario aggiungere prima alcuni prodotti"
+
+#~ msgid "Display Name"
+#~ msgstr "Nome visualizzato"
+
+#~ msgid "ID"
+#~ msgstr "ID"
+
+#~ msgid "Last Modified on"
+#~ msgstr "Ultima modifica il"
diff --git a/pos_edit_order_line/i18n/pos_edit_order_line.pot b/pos_edit_order_line/i18n/pos_edit_order_line.pot
new file mode 100644
index 0000000..e33dd9f
--- /dev/null
+++ b/pos_edit_order_line/i18n/pos_edit_order_line.pot
@@ -0,0 +1,112 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * pos_edit_order_line
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 16.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_edit_order_line
+#: model:ir.model.fields,field_description:pos_edit_order_line.field_pos_config__allow_edit_order_line
+#: model:ir.model.fields,field_description:pos_edit_order_line.field_res_config_settings__pos_allow_edit_order_line
+msgid "Allow Edit Order Line"
+msgstr ""
+
+#. module: pos_edit_order_line
+#: model_terms:ir.ui.view,arch_db:pos_edit_order_line.res_config_settings_view_form
+msgid "Allow edit Order Line in popup"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderPopup.js:0
+#, python-format
+msgid "Cancel"
+msgstr ""
+
+#. module: pos_edit_order_line
+#: model:ir.model,name:pos_edit_order_line.model_res_config_settings
+msgid "Config Settings"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Discount"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "Edit Order Line"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderButton.xml:0
+#, python-format
+msgid "Edit Order Lines"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "Empty Order"
+msgstr ""
+
+#. module: pos_edit_order_line
+#: model:ir.model,name:pos_edit_order_line.model_pos_config
+msgid "Point of Sale Configuration"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Price"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Product"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "Quantity"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderPopup.js:0
+#, python-format
+msgid "Save"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/xml/EditOrderPopup.xml:0
+#, python-format
+msgid "UoM"
+msgstr ""
+
+#. module: pos_edit_order_line
+#. odoo-javascript
+#: code:addons/pos_edit_order_line/static/src/js/EditOrderButton.js:0
+#, python-format
+msgid "You need add some products first"
+msgstr ""
diff --git a/pos_edit_order_line/models/__init__.py b/pos_edit_order_line/models/__init__.py
new file mode 100644
index 0000000..2b92809
--- /dev/null
+++ b/pos_edit_order_line/models/__init__.py
@@ -0,0 +1,2 @@
+from . import pos_config
+from . import res_config_settings
diff --git a/pos_edit_order_line/models/pos_config.py b/pos_edit_order_line/models/pos_config.py
new file mode 100644
index 0000000..f3be8ad
--- /dev/null
+++ b/pos_edit_order_line/models/pos_config.py
@@ -0,0 +1,14 @@
+# copyright 2022 Dinar Gabbasov
+# Copyright 2022 Ooops404
+# Copyright 2022 Cetmix
+# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
+
+from odoo import fields, models
+
+
+class PosConfig(models.Model):
+ _inherit = "pos.config"
+
+ allow_edit_order_line = fields.Boolean(
+ default=True,
+ )
diff --git a/pos_edit_order_line/models/res_config_settings.py b/pos_edit_order_line/models/res_config_settings.py
new file mode 100644
index 0000000..b9944f7
--- /dev/null
+++ b/pos_edit_order_line/models/res_config_settings.py
@@ -0,0 +1,14 @@
+# copyright 2023 Dinar Gabbasov
+# Copyright 2023 Ooops404
+# Copyright 2023 Cetmix
+# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
+from odoo import fields, models
+
+
+class ResConfigSettings(models.TransientModel):
+ _inherit = "res.config.settings"
+
+ pos_allow_edit_order_line = fields.Boolean(
+ related="pos_config_id.allow_edit_order_line",
+ readonly=False,
+ )
diff --git a/pos_edit_order_line/readme/CONFIGURE.rst b/pos_edit_order_line/readme/CONFIGURE.rst
new file mode 100644
index 0000000..53df67d
--- /dev/null
+++ b/pos_edit_order_line/readme/CONFIGURE.rst
@@ -0,0 +1,2 @@
+Select PoS > configuration > enable flag "Allow Edit Order Line"
+To improve usability when there are more than 3 order lines, we suggest activating the "Large scrollbars" POS setting.
diff --git a/pos_edit_order_line/readme/CONTRIBUTORS.rst b/pos_edit_order_line/readme/CONTRIBUTORS.rst
new file mode 100644
index 0000000..f5d6f94
--- /dev/null
+++ b/pos_edit_order_line/readme/CONTRIBUTORS.rst
@@ -0,0 +1,5 @@
+* Ooops404
+* Cetmix
+* `Acsone `_:
+
+ * Maxime Franco
diff --git a/pos_edit_order_line/readme/DESCRIPTION.rst b/pos_edit_order_line/readme/DESCRIPTION.rst
new file mode 100644
index 0000000..74d5845
--- /dev/null
+++ b/pos_edit_order_line/readme/DESCRIPTION.rst
@@ -0,0 +1,6 @@
+This module adds a button "Edit order lines" in main POS interface to allow an easier UX for cashier when editing product price, qty and discount.
+
+On button click, a popup with order lines allows user to input a clear value for each field, instead of having to use the default process of selecting which field to edit, which is not very intuitive and error-prone.
+
+.. image:: ../static/description/pos_edit_order_line.png
+ :alt: Display Edit Order Line Popup
diff --git a/pos_edit_order_line/readme/HISTORY.rst b/pos_edit_order_line/readme/HISTORY.rst
new file mode 100644
index 0000000..f838e0c
--- /dev/null
+++ b/pos_edit_order_line/readme/HISTORY.rst
@@ -0,0 +1,4 @@
+14.0.1.0.0
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+* Initial release
diff --git a/pos_edit_order_line/static/description/icon.png b/pos_edit_order_line/static/description/icon.png
new file mode 100644
index 0000000..3a0328b
Binary files /dev/null and b/pos_edit_order_line/static/description/icon.png differ
diff --git a/pos_edit_order_line/static/description/index.html b/pos_edit_order_line/static/description/index.html
new file mode 100644
index 0000000..7082920
--- /dev/null
+++ b/pos_edit_order_line/static/description/index.html
@@ -0,0 +1,446 @@
+
+
+
+
+
+
+POS Edit Order Line
+
+
+
+
+
POS Edit Order Line
+
+
+
+
This module adds a button “Edit order lines” in main POS interface to allow an easier UX for cashier when editing product price, qty and discount.
+
On button click, a popup with order lines allows user to input a clear value for each field, instead of having to use the default process of selecting which field to edit, which is not very intuitive and error-prone.
Select PoS > configuration > enable flag “Allow Edit Order Line”
+To improve usability when there are more than 3 order lines, we suggest activating the “Large scrollbars” POS setting.
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.
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.
+
This module is part of the OCA/pos project on GitHub.
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.
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.