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
111 changes: 111 additions & 0 deletions pos_edit_order_line/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
===================
POS Edit Order Line
===================

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

.. |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/17.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-17-0/pos-17-0-pos_edit_order_line
: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=17.0
:alt: Try me on Runboat

|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.

|Display Edit Order Line Popup|

.. |Display Edit Order Line Popup| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_edit_order_line/static/description/pos_edit_order_line.png

**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 <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_edit_order_line%0Aversion:%2017.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
-------

* Ooops
* Cetmix

Contributors
------------

- Ooops404 <https://www.ooops404.com/>
- Cetmix <https://cetmix.com/>
- `Acsone <https://www.acsone.eu/>`__:

- Maxime Franco

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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 <https://github.com/OCA/pos/tree/17.0/pos_edit_order_line>`_ 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_edit_order_line/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
28 changes: 28 additions & 0 deletions pos_edit_order_line/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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": "17.0.1.0.0",
"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": [
"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,
}
115 changes: 115 additions & 0 deletions pos_edit_order_line/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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-08-22 18:15+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\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 "Cancelar"

#. 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 "Guardar"

#. 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"
124 changes: 124 additions & 0 deletions pos_edit_order_line/i18n/it.po
Original file line number Diff line number Diff line change
@@ -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 <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_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"
Loading