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
138 changes: 138 additions & 0 deletions pos_minimize_menu/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
=============================
Point of Sale - Minimize Menu
=============================

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

.. |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_minimize_menu
: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_minimize_menu
: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 allows you to minimize the placeholder that contains all the
options in main point of sale menu part.

It allows to have more place for the display of the current ticket.

**Without this module:**

|Without Module|

**with this module:**

|With Module|

.. |Without Module| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_minimize_menu/static/img/without_module.png
.. |With Module| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_minimize_menu/static/img/with_module.png

**Table of contents**

.. contents::
:local:

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

if you want to display in the main screen some important buttons:

- Go to 'Point of Sale > Configuration > Settings'

- Edit the field 'Important Buttons' and write the technical name of the
buttons.

|Configure Important Buttons|

Here are for the official modules, the following possibles values:

- ``point_of_sale`` : ProductInfoButton, SetFiscalPositionButton,
OrderlineCustomerNoteButton, SetPricelistButton, RefundButton
- ``pos_sale``: SetSaleOrderButton
- ``pos_discount``: DiscountButton
- ``pos_loyalty``: RewardButton, ResetProgramsButton, eWalletButton,
PromoCodeButton
- ``pos_restaurant``: SplitBillButton, SubmitOrderButton,
TransferOrderButton, PrintBillButton, TableGuestsButton,
OrderlineNoteButton

As a result, selected buttons will be displayed in the main screen:

|Important Buttons Displayed|

.. |Configure Important Buttons| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_minimize_menu/static/img/configure_important_buttons.png
.. |Important Buttons Displayed| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_minimize_menu/static/img/important_buttons_displayed.png

Development
===========

Technically, it provides the same UI for the desktop version as for the
mobile version.

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_minimize_menu%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
-------

* GRAP

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

- Sylvain LE GAL (https://twitter.com/legalsylvain)
- `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.

.. |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/17.0/pos_minimize_menu>`_ 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_minimize_menu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
26 changes: 26 additions & 0 deletions pos_minimize_menu/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (C) 2023 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Point of Sale - Minimize Menu",
"version": "17.0.1.0.0",
"category": "Point of Sale",
"summary": "Reduce size of the main menu of the point of sale.",
"depends": ["point_of_sale"],
"website": "https://github.com/OCA/pos",
"author": "GRAP,Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"demo": [
"demo/pos_config.xml",
],
"data": [
"views/view_res_config_settings.xml",
],
"assets": {
"point_of_sale._assets_pos": [
"pos_minimize_menu/static/src/js/ProductScreen.esm.js",
"pos_minimize_menu/static/src/xml/ProductScreen.xml",
],
},
"license": "LGPL-3",
}
11 changes: 11 additions & 0 deletions pos_minimize_menu/demo/pos_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (C) 2023-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="point_of_sale.pos_config_main" model="pos.config">
<field name="iface_important_buttons">OrderlineCustomerNoteButton</field>
</record>
</odoo>
61 changes: 61 additions & 0 deletions pos_minimize_menu/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_minimize_menu
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-08 22:35+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_minimize_menu
#: model:ir.model,name:pos_minimize_menu.model_res_config_settings
msgid "Config Settings"
msgstr "Ajustes Config"

#. module: pos_minimize_menu
#: model:ir.model.fields,field_description:pos_minimize_menu.field_pos_config__iface_important_buttons
#: model:ir.model.fields,field_description:pos_minimize_menu.field_res_config_settings__pos_iface_important_buttons
msgid "Important Buttons"
msgstr "Botones Importantes"

#. module: pos_minimize_menu
#: model:ir.model,name:pos_minimize_menu.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configuración de Punto de Venta"

#. module: pos_minimize_menu
#: model_terms:ir.ui.view,arch_db:pos_minimize_menu.view_res_config_settings_form
msgid ""
"Set technical names of buttons that will be displayed in the main point of "
"sale screen. Other buttons will be available by clicking on the button "
"'More...'"
msgstr ""
"Establezca los nombres técnicos de los botones que se mostrarán en la "
"pantalla principal del punto de venta. Otros botones estarán disponibles "
"pulsando el botón 'Más...'"

#. module: pos_minimize_menu
#: model:ir.model.fields,help:pos_minimize_menu.field_pos_config__iface_important_buttons
#: model:ir.model.fields,help:pos_minimize_menu.field_res_config_settings__pos_iface_important_buttons
msgid ""
"Set technical names of buttons that will be displayed in the main point of "
"sale screen. Other buttons will be available by clicking on the button "
"'More...'."
msgstr ""
"Establezca los nombres técnicos de los botones que se mostrarán en la "
"pantalla principal del punto de venta. Otros botones estarán disponibles "
"pulsando el botón 'Más...'."

#. module: pos_minimize_menu
#: model_terms:ir.ui.view,arch_db:pos_minimize_menu.view_res_config_settings_form
msgid "e.g. OrderlineCustomerNoteButton"
msgstr "p. ej. OrderlineCustomerNoteButton"
53 changes: 53 additions & 0 deletions pos_minimize_menu/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_minimize_menu
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\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"

#. module: pos_minimize_menu
#: model:ir.model,name:pos_minimize_menu.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: pos_minimize_menu
#: model:ir.model.fields,field_description:pos_minimize_menu.field_pos_config__iface_important_buttons
#: model:ir.model.fields,field_description:pos_minimize_menu.field_res_config_settings__pos_iface_important_buttons
msgid "Important Buttons"
msgstr ""

#. module: pos_minimize_menu
#: model:ir.model,name:pos_minimize_menu.model_pos_config
msgid "Point of Sale Configuration"
msgstr ""

#. module: pos_minimize_menu
#: model_terms:ir.ui.view,arch_db:pos_minimize_menu.view_res_config_settings_form
msgid ""
"Set technical names of buttons that will be displayed in the main point of "
"sale screen. Other buttons will be available by clicking on the button "
"'More...'"
msgstr ""

#. module: pos_minimize_menu
#: model:ir.model.fields,help:pos_minimize_menu.field_pos_config__iface_important_buttons
#: model:ir.model.fields,help:pos_minimize_menu.field_res_config_settings__pos_iface_important_buttons
msgid ""
"Set technical names of buttons that will be displayed in the main point of "
"sale screen. Other buttons will be available by clicking on the button "
"'More...'."
msgstr ""

#. module: pos_minimize_menu
#: model_terms:ir.ui.view,arch_db:pos_minimize_menu.view_res_config_settings_form
msgid "e.g. OrderlineCustomerNoteButton"
msgstr ""
61 changes: 61 additions & 0 deletions pos_minimize_menu/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_minimize_menu
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-13 14:40+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.17\n"

#. module: pos_minimize_menu
#: model:ir.model,name:pos_minimize_menu.model_res_config_settings
msgid "Config Settings"
msgstr "Impostazioni configurazione"

#. module: pos_minimize_menu
#: model:ir.model.fields,field_description:pos_minimize_menu.field_pos_config__iface_important_buttons
#: model:ir.model.fields,field_description:pos_minimize_menu.field_res_config_settings__pos_iface_important_buttons
msgid "Important Buttons"
msgstr "Pulsanti importanti"

#. module: pos_minimize_menu
#: model:ir.model,name:pos_minimize_menu.model_pos_config
msgid "Point of Sale Configuration"
msgstr "Configurazione punto vendita"

#. module: pos_minimize_menu
#: model_terms:ir.ui.view,arch_db:pos_minimize_menu.view_res_config_settings_form
msgid ""
"Set technical names of buttons that will be displayed in the main point of "
"sale screen. Other buttons will be available by clicking on the button "
"'More...'"
msgstr ""
"Imposta nomi tecnici dei pulsanti che verranno visualizzati nella schermata "
"principale del punto vendita. Altri pulsanti saranno disponibili facendo "
"clic sul pulsante 'Altro...'"

#. module: pos_minimize_menu
#: model:ir.model.fields,help:pos_minimize_menu.field_pos_config__iface_important_buttons
#: model:ir.model.fields,help:pos_minimize_menu.field_res_config_settings__pos_iface_important_buttons
msgid ""
"Set technical names of buttons that will be displayed in the main point of "
"sale screen. Other buttons will be available by clicking on the button "
"'More...'."
msgstr ""
"Imposta nomi tecnici dei pulsanti che verranno visualizzati nella schermata "
"principale del punto vendita. Altri pulsanti saranno disponibili facendo "
"clic sul pulsante 'Altro...'."

#. module: pos_minimize_menu
#: model_terms:ir.ui.view,arch_db:pos_minimize_menu.view_res_config_settings_form
msgid "e.g. OrderlineCustomerNoteButton"
msgstr "es. OrderlineCustomerNoteButton"
Loading
Loading