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

[14.0][MIG] pos_order_mgmt: Migration to 14.0 #994

Merged
merged 74 commits into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
7a2e292
[11.0][ADD] pos_order_mgmt: New module
chienandalu Oct 16, 2018
e38983d
Update ROADMAP.rst
legalsylvain Jan 29, 2019
90a1884
[UPD] README.rst
OCA-git-bot Jan 30, 2019
9e0ac4b
[UPD] Update pos_order_mgmt.pot
oca-travis Jan 30, 2019
833fac6
[FIX] pos_order_mgmt: reprint tickets with fp
chienandalu Feb 12, 2019
62ce984
[UPD] Update pos_order_mgmt.pot
oca-travis Feb 15, 2019
da37943
Translated using Weblate (Spanish)
mvrodriguez Mar 1, 2019
2b55d17
Update translation files
oca-transbot Mar 3, 2019
03be351
[MIG] 12.0 with integration of pos_return
Mar 25, 2019
5ce5abe
[IMP] configure reprint and return separately
Mar 26, 2019
84e2bb2
[IMP] Add Duplicate info on reprinted receipt
Apr 11, 2019
e388077
[IMP] allow srucharge of orderlines loading
Apr 16, 2019
67fb195
- Make search_query a property
ivantodorovich Jun 14, 2019
e6bb2cc
[FIX] loaded orders date to local https://github.com/OCA/pos/pull/361…
legalsylvain Jul 15, 2019
efceb6c
[UPD] Update pos_order_mgmt.pot
oca-travis Jul 18, 2019
436418e
[UPD] README.rst
OCA-git-bot Jul 18, 2019
0f3bd24
Update translation files
oca-transbot Jul 20, 2019
2a9edb7
IMP destroy order after printing. Fixes a bug where, after printing a…
ivantodorovich Jun 20, 2019
9143fe0
IMP action_print: Print invoice instead of ticket, if the order has one
ivantodorovich Jul 23, 2019
3a1c44f
IMP: Print the invoice, but also the ticket..
ivantodorovich Jul 24, 2019
a63c8ae
[UPD] Update pos_order_mgmt.pot
oca-travis Jul 24, 2019
68fd894
pos_order_mgmt 12.0.1.0.2
OCA-git-bot Jul 24, 2019
c3813b0
Update translation files
oca-transbot Jul 27, 2019
c1abc90
[UPD] README.rst
OCA-git-bot Jul 29, 2019
af0d961
IMP Improve configuration page. Allow to disable order mgmt easily.
ivantodorovich Jul 26, 2019
9d8060a
[IMP] add orderlist-screen css class to limit selectors
ivantodorovich Aug 2, 2019
4397259
[IMP] Keep table from breaking when customer name is too long, align-…
ivantodorovich Aug 2, 2019
62d8a14
[UPD] Update pos_order_mgmt.pot
oca-travis Aug 2, 2019
3d83265
pos_order_mgmt 12.0.1.0.3
OCA-git-bot Aug 2, 2019
cd892ae
Update translation files
oca-transbot Oct 1, 2019
ecb8af0
Added translation using Weblate (Italian)
eLBati Oct 25, 2019
4ce6a27
Translated using Weblate (Italian)
eLBati Oct 25, 2019
1b65156
[FIX] pos_order_mgmt: Xml receipt renders different values
chienandalu Oct 17, 2019
17602dc
[UPD] Update pos_order_mgmt.pot
oca-travis Nov 21, 2019
93fdc67
pos_order_mgmt 12.0.1.0.4
OCA-git-bot Nov 21, 2019
2d5b7a0
Update translation files
oca-transbot Nov 21, 2019
cf5eccb
Translated using Weblate (Italian)
eLBati Nov 22, 2019
392f4b0
Added translation using Weblate (Portuguese)
pedrocs-exo Nov 24, 2019
4a5c546
Translated using Weblate (Portuguese)
pedrocs-exo Nov 24, 2019
a38b108
Translated using Weblate (Spanish)
CarlesAntoli Dec 27, 2019
839c996
[ADD] pos_order_return_traceability
dalonsod Feb 5, 2020
f48e45e
[UPD] Update pos_order_mgmt.pot
oca-travis Feb 11, 2020
e0a5e04
Update translation files
oca-transbot Feb 11, 2020
286c2c3
Translated using Weblate (French)
msdruidoo Mar 9, 2020
bd8892b
[IMP] Set lot/serial number when returning orders
ivantodorovich Mar 9, 2020
921aae3
Translated using Weblate (French)
msdruidoo Mar 19, 2020
c977bfa
[IMP] Restore lot information in '_prepare_orderlines_from_order_data'
ivantodorovich Mar 19, 2020
f80e7a9
[UPD] Update pos_order_mgmt.pot
oca-travis Apr 27, 2020
6517776
pos_order_mgmt 12.0.1.1.0
OCA-git-bot Apr 27, 2020
8f1a2fa
Update translation files
oca-transbot Apr 27, 2020
eb59ee7
Translated using Weblate (Spanish)
danimv5 Jul 27, 2020
c62c7f0
[FIX] pos_order_mgmt: don't relay on demo data
chienandalu Aug 26, 2020
0ccac3a
pos_order_mgmt 12.0.1.1.1
OCA-git-bot Aug 26, 2020
ce946ff
[FIX] pos_order_mgmt: test pricelist
chienandalu Aug 26, 2020
5cd9bf9
pos_order_mgmt 12.0.1.1.2
OCA-git-bot Aug 26, 2020
c375b2e
[FIX] pos_order_mgmt test
chienandalu Aug 27, 2020
191c98b
pos_order_mgmt 12.0.1.1.3
OCA-git-bot Aug 27, 2020
c9c881f
Added translation using Weblate (Catalan)
brendapaniagua Aug 31, 2020
8cb019a
Translated using Weblate (Catalan)
brendapaniagua Aug 31, 2020
f6c7c61
Translated using Weblate (Catalan)
brendapaniagua Nov 6, 2020
fdbf2a1
[REF] pos_order_mgmt : make module compatible with pos_margin. homoge…
legalsylvain Jun 10, 2021
3696311
[UPD] Update pos_order_mgmt.pot
oca-travis Jun 15, 2021
0526390
Update translation files
oca-transbot Jun 15, 2021
021eaa0
[UPD] Update pos_order_mgmt.pot
oca-travis Jun 15, 2021
2c7d9be
Update translation files
oca-transbot Jun 15, 2021
d0a794d
[FIX] pos_order_mgmt : conserve pricelist of the previous order, when…
legalsylvain Jul 7, 2021
306b5ab
[UPD] Update pos_order_mgmt.pot
oca-travis Jul 12, 2021
2ce3ca7
pos_order_mgmt 12.0.1.1.4
OCA-git-bot Jul 12, 2021
8a4b5aa
Update translation files
oca-transbot Jul 12, 2021
27770d2
[UPD] Update pos_order_mgmt.pot
oca-travis Jul 12, 2021
8f5eefb
Update translation files
oca-transbot Jul 12, 2021
39aab1a
Translated using Weblate (Catalan)
Noel000 Apr 13, 2022
e0b3b6a
[IMP] pos_order_mgmt: black, isort, prettier
zamberjo Apr 13, 2023
d31eae0
[14.0][MIG] pos_order_mgmt: Migration to 14.0
zamberjo Apr 14, 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
134 changes: 134 additions & 0 deletions pos_order_mgmt/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
==============================
POS Frontend Orders Management
==============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_order_mgmt
: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_order_mgmt
: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|

This module extends the functionality of the PoS frontend allowing to load
already done PoS Orders in order to be able to operate over them, being able to
reprint past tickets or return them.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module, you need to go to *Point of Sale > Configuration >
Point of Sale* and enable *Order Management*

.. image:: https://raw.githubusercontent.com/OCA/pos/14.0/pos_order_mgmt/static/description/order-mgmt-config.png

#. Change *Maximum orders to load* to your desired amount (10 by default).
Please note that the more you load, the more it will take to load
them in the session opening. You can also set it to 0 and you'll just be
able to load them from the order list screen.

#. Enable *Reprint orders* on if you want to be able to reprint past orders
in that PoS.

#. Enable *Return orders* on if you want to be able to return past orders
in that PoS.

#. Enable *Duplicate orders* on if you want to be able to return past orders
in that PoS.

Usage
=====

Once the PoS is loaded, you'll find a shopping trolley icon (🛒) in the top
bar that grants access to the order list screen.

.. image:: https://raw.githubusercontent.com/OCA/pos/14.0/pos_order_mgmt/static/description/order-mgmt-icon.png

There you can find the number of past orders loaded according to your
configuration (see Configuration) as well as the orders you checked out in
the current session:

.. image:: https://raw.githubusercontent.com/OCA/pos/14.0/pos_order_mgmt/static/description/order-mgmt-list.png

#. You can see their totals as well as their custumers if registered.
#. You can reprint their tickets clicking on the printer icon (⎙).
#. You can return them pressing on the arrow icon (↶).
#. You have a search input as well that lets you find past tickets by its
reference number.

NOTE: You'll need your PoS to be online to be able to search or return a past
ticket.

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

* This module contains a *basic return* feature that makes possible returning
the same order over and over. If you need a full return feature, you can
install ``pos_order_return`` (only back office implementation), or
``pos_order_return_traceability``, which also covers front office support.

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_order_mgmt%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
~~~~~~~

* GRAP
* Tecnativa

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

* David Vidal <david.vidal@tecnativa.com>
* Sylvain LE GAL (https://twitter.com/legalsylvain)
* Carlos Martínez <carlos@domatix.com>
* Pierrick Brun <pierrick.brun@akretion.com>
* Iván Todorovich <ivan.todorovich@druidoo.io>
* David Alonso <david.alonso@solvos.es>

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/14.0/pos_order_mgmt>`_ 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_order_mgmt/__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_order_mgmt/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2018 GRAP - Sylvain LE GAL
# Copyright 2018 Tecnativa S.L. - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
"name": "POS Frontend Orders Management",
"summary": "Manage old POS Orders from the frontend",
"version": "14.0.1.0.0",
"category": "Point of Sale",
"author": "GRAP, " "Tecnativa, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"development_status": "Alpha",
"license": "AGPL-3",
"depends": [
"point_of_sale",
"pos_order_return",
],
"data": [
"views/assets.xml",
"views/view_pos_config.xml",
],
"qweb": [
"static/src/xml/RefundOrderButton.xml",
"static/src/xml/CopyOrderButton.xml",
],
"application": False,
"installable": True,
}
207 changes: 207 additions & 0 deletions pos_order_mgmt/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_order_mgmt
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-04-13 13:05+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\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 4.3.2\n"

#. module: pos_order_mgmt
#: model:ir.model.fields,help:pos_order_mgmt.field_pos_config__iface_copy_done_order
msgid "Allows to duplicate already done orders in the frontend"
msgstr "Permet duplicar les comandes ja fetes en el frontend"

#. module: pos_order_mgmt
#: model_terms:ir.ui.view,arch_db:pos_order_mgmt.view_pos_config_form
msgid "Allows to manage already done orders in the frontend."
msgstr "Permet gestionar les comandes ja fetes en el frontend."

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:36
#, python-format
msgid "Amount"
msgstr "Import"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:17
#, python-format
msgid "Back"
msgstr "esquena"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:374
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:429
#, python-format
msgid "Can not execute this action because the POS is currently offline"
msgstr ""
"No es pot executar aquesta acció perquè actualment el POS està fora de línia"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:373
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:428
#, python-format
msgid "Connection error"
msgstr "Error de connexió"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:61
#, python-format
msgid "Create a new order based on this one"
msgstr "Creeu un nou ordre basat en aquest"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:64
#, python-format
msgid "Create a refund order of this order"
msgstr "Creeu una comanda de reembossament d’aquesta comanda"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:34
#, python-format
msgid "Customer"
msgstr "Client"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:93
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:102
#, python-format
msgid "DUPLICATE"
msgstr "DUPLICA"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:35
#, python-format
msgid "Date"
msgstr "Data"

#. module: pos_order_mgmt
#: model:ir.model.fields,field_description:pos_order_mgmt.field_pos_config__iface_copy_done_order
msgid "Duplicate Orders"
msgstr "Ordres duplicats"

#. module: pos_order_mgmt
#: model:ir.model,name:pos_order_mgmt.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuració del punt de venda"

#. module: pos_order_mgmt
#: model:ir.model,name:pos_order_mgmt.model_pos_order
msgid "Point of Sale Orders"
msgstr "Comandes de punt de venda"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:58
#, python-format
msgid "Print a duplicate for this order"
msgstr "Imprimeix un duplicat per a aquesta comanda"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:87
#, python-format
msgid "Rectifies:"
msgstr "Rectifica:"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:33
#, python-format
msgid "Ref."
msgstr "Ref."

#. module: pos_order_mgmt
#: model:ir.model.fields,field_description:pos_order_mgmt.field_pos_order__returned_order_reference
msgid "Reference of the returned Order"
msgstr "Referència de la comanda retornada"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:251
#, python-format
msgid "Refund "
msgstr "Devolució "

#. module: pos_order_mgmt
#: model:ir.model.fields,field_description:pos_order_mgmt.field_pos_order__refund_order_ids
msgid "Refund Orders"
msgstr "Ordres de devolució"

#. module: pos_order_mgmt
#: model:ir.model.fields,field_description:pos_order_mgmt.field_pos_order__refund_order_qty
msgid "Refund Orders Quantity"
msgstr "Quantitat de comandes de devolució"

#. module: pos_order_mgmt
#: model_terms:ir.ui.view,arch_db:pos_order_mgmt.view_pos_order_form
msgid "Refunds"
msgstr "Devolucions"

#. module: pos_order_mgmt
#: model:ir.model.fields,field_description:pos_order_mgmt.field_pos_config__iface_return_done_order
msgid "Return Orders"
msgstr "Comandes de devolució"

#. module: pos_order_mgmt
#: model:ir.model.fields,field_description:pos_order_mgmt.field_pos_order__returned_order_id
msgid "Returned Order"
msgstr "Comanda retornada"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:76
#, python-format
msgid "Returned order:"
msgstr "Ordre retornada:"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/xml/pos.xml:21
#, python-format
msgid "Search Order"
msgstr "Ordre de cerca"

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:391
#, python-format
msgid ""
"Unable to load some order lines because the products are not available in "
"the POS cache.\n"
"\n"
"Please check that lines :\n"
"\n"
" * "
msgstr ""
"No es poden carregar algunes línies de comanda perquè els productes no estan "
"disponibles a la memòria cau POS.\n"
"\n"
"Comproveu les línies següents:\n"
"\n"
" * "

#. module: pos_order_mgmt
#. openerp-web
#: code:addons/pos_order_mgmt/static/src/js/widgets.js:390
#, python-format
msgid "Unknown Products"
msgstr "Productes desconeguts"
Loading