forked from OCA/operating-unit
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #601 from OCA/17.0
Syncing from upstream OCA/operating-unit (17.0)
- Loading branch information
Showing
27 changed files
with
1,240 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,11 @@ | |
|
||
/* | ||
:Author: David Goodger ([email protected]) | ||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ | ||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ | ||
:Copyright: This stylesheet has been placed in the public domain. | ||
Default cascading style sheet for the HTML output of Docutils. | ||
Despite the name, some widely supported CSS2 features are used. | ||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to | ||
customize this style sheet. | ||
|
@@ -274,7 +275,7 @@ | |
margin-left: 2em ; | ||
margin-right: 2em } | ||
|
||
pre.code .ln { color: grey; } /* line numbers */ | ||
pre.code .ln { color: gray; } /* line numbers */ | ||
pre.code, code { background-color: #eeeeee } | ||
pre.code .comment, code .comment { color: #5C6576 } | ||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } | ||
|
@@ -300,7 +301,7 @@ | |
span.pre { | ||
white-space: pre } | ||
|
||
span.problematic { | ||
span.problematic, pre.problematic { | ||
color: red } | ||
|
||
span.section-subtitle { | ||
|
@@ -441,7 +442,9 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2> | |
<div class="section" id="maintainers"> | ||
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2> | ||
<p>This module is maintained by the OCA.</p> | ||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> | ||
<a class="reference external image-reference" href="https://odoo-community.org"> | ||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /> | ||
</a> | ||
<p>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.</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
======================== | ||
POS with Operating Units | ||
======================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:ff2417b3a2178379e4a963b4b7fed6282bfb952b07931806cec94e7806d49d61 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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%2Foperating--unit-lightgray.png?logo=github | ||
:target: https://github.com/OCA/operating-unit/tree/17.0/pos_operating_unit | ||
:alt: OCA/operating-unit | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/operating-unit-17-0/operating-unit-17-0-pos_operating_unit | ||
: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/operating-unit&target_branch=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds a field "operating unit" in POS with the only goal of | ||
restricting visibility (therefore access) to users with same OU allowed. | ||
|
||
This also applies to sessions, orders and payments in POS. | ||
|
||
A "Point of sale" field is added to orders and payments for clarity. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
In POS config, set operating unit(s) allowed to see this POS. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
This module only manages visibility of POS and related orders. If a more | ||
complete "pos_operating_unit" is proposed and merged, then it should | ||
cover features of this module which can be discontinued. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/operating-unit/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/operating-unit/issues/new?body=module:%20pos_operating_unit%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 | ||
------- | ||
|
||
* Ilyas | ||
* Ooops404 | ||
|
||
Contributors | ||
------------ | ||
|
||
- Ooops404 <https://ooops404.com> | ||
|
||
- Ilyas <[email protected]> | ||
|
||
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/operating-unit <https://github.com/OCA/operating-unit/tree/17.0/pos_operating_unit>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "POS with Operating Units", | ||
"version": "17.0.1.0.0", | ||
"author": "Ilyas, Ooops404, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/operating-unit", | ||
"category": "Point of sale", | ||
"depends": ["point_of_sale", "operating_unit"], | ||
"license": "LGPL-3", | ||
"data": [ | ||
"security/pos_security.xml", | ||
"views/pos_views.xml", | ||
"views/res_config_settings_views.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_operating_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2024-01-11 19:34+0000\n" | ||
"Last-Translator: Ivorra78 <[email protected]>\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_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_res_config_settings | ||
msgid "Config Settings" | ||
msgstr "" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_config__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_order__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_order_line__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_payment__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_session__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_res_config_settings__pos_operating_unit_ids | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.pos_config_view_form_inherit_ou | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.res_config_settings_view_form | ||
msgid "Operating Units" | ||
msgstr "Unidades Operativas" | ||
|
||
#. module: pos_operating_unit | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.pos_config_view_form_inherit_ou | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.res_config_settings_view_form | ||
msgid "Operating units used for this POS" | ||
msgstr "" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_order__config_id | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_payment__config_id | ||
msgid "Point of Sale" | ||
msgstr "Punto de Venta" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_config | ||
msgid "Point of Sale Configuration" | ||
msgstr "Configuración del Punto de Venta" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_order_line | ||
msgid "Point of Sale Order Lines" | ||
msgstr "Líneas de Pedidos en el Punto de Venta" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_order | ||
msgid "Point of Sale Orders" | ||
msgstr "Pedidos en el Punto de Venta" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_payment | ||
msgid "Point of Sale Payments" | ||
msgstr "Pagos en el Punto de Venta" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_session | ||
msgid "Point of Sale Session" | ||
msgstr "Sesión del Punto de Venta" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Mostrar Nombre" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Última Modificación el" | ||
|
||
#~ msgid "The physical point of sale you will use." | ||
#~ msgstr "El punto de venta físico que usted utilizará." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * pos_operating_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2023-01-18 11:45+0000\n" | ||
"Last-Translator: Francesco Foresti <[email protected]>\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_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_res_config_settings | ||
msgid "Config Settings" | ||
msgstr "" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_config__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_order__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_order_line__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_payment__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_session__operating_unit_ids | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_res_config_settings__pos_operating_unit_ids | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.pos_config_view_form_inherit_ou | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.res_config_settings_view_form | ||
msgid "Operating Units" | ||
msgstr "Unità operative" | ||
|
||
#. module: pos_operating_unit | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.pos_config_view_form_inherit_ou | ||
#: model_terms:ir.ui.view,arch_db:pos_operating_unit.res_config_settings_view_form | ||
msgid "Operating units used for this POS" | ||
msgstr "" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_order__config_id | ||
#: model:ir.model.fields,field_description:pos_operating_unit.field_pos_payment__config_id | ||
msgid "Point of Sale" | ||
msgstr "Punto vendita" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_config | ||
msgid "Point of Sale Configuration" | ||
msgstr "Configurazione punto vendita" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_order_line | ||
msgid "Point of Sale Order Lines" | ||
msgstr "Righe ordine punto vendita" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_order | ||
msgid "Point of Sale Orders" | ||
msgstr "Ordini punto vendita" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_payment | ||
msgid "Point of Sale Payments" | ||
msgstr "Pagamenti punto vendita" | ||
|
||
#. module: pos_operating_unit | ||
#: model:ir.model,name:pos_operating_unit.model_pos_session | ||
msgid "Point of Sale Session" | ||
msgstr "Sessione punto vendita" | ||
|
||
#~ msgid "Display Name" | ||
#~ msgstr "Nome visualizzato" | ||
|
||
#~ msgid "ID" | ||
#~ msgstr "ID" | ||
|
||
#~ msgid "Last Modified on" | ||
#~ msgstr "Ultima modifica il" | ||
|
||
#~ msgid "The physical point of sale you will use." | ||
#~ msgstr "Il punto vendita fisico che userai." |
Oops, something went wrong.