Skip to content

Commit ef67897

Browse files
authored
Merge pull request #731 from OCA/17.0
Syncing from upstream OCA/pos (17.0)
2 parents 61700fb + c322c37 commit ef67897

32 files changed

+1513
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ addon | version | maintainers | summary
4646
[pos_product_expiry](pos_product_expiry/) | 17.0.1.0.1 | | Evaluate expiry of lot
4747
[pos_product_template](pos_product_template/) | 17.0.1.0.0 | | Manage Product Template in Front End Point Of Sale
4848
[pos_session_sequence](pos_session_sequence/) | 17.0.1.0.0 | <a href='https://github.com/peluko00'><img src='https://github.com/peluko00.png' width='32' height='32' style='border-radius:50%;' alt='peluko00'/></a> | Generates a sequence of POS sessions
49+
[pos_stock_available_online](pos_stock_available_online/) | 17.0.1.0.0 | | Show the available quantity of products in the Point of Sale
4950
[pos_user_restriction](pos_user_restriction/) | 17.0.1.0.1 | <a href='https://github.com/eLBati'><img src='https://github.com/eLBati.png' width='32' height='32' style='border-radius:50%;' alt='eLBati'/></a> | Restrict some users to see and use only certain points of sale
5051

5152
[//]: # (end addons)
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
====================================
6+
Point of Sale Stock Available Online
7+
====================================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:a93d0e88097f55eb0faf65693a4c4707cc4dd75d2721528642a644450f2a4757
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github
24+
:target: https://github.com/OCA/pos/tree/17.0/pos_stock_available_online
25+
:alt: OCA/pos
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/pos-17-0/pos-17-0-pos_stock_available_online
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/pos&target_branch=17.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module allows to display product quantities in selected locations
36+
in real time. Quantities are displayed directly on product tiles: |Pos
37+
Quantity|
38+
39+
Once a product quantity is changed it will be simultaneously updated in
40+
all active POS.
41+
42+
This module depends on stock_available module which is available in
43+
https://github.com/OCA/stock-logistics-availability repo.
44+
45+
.. |Pos Quantity| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_stock_available_online/static/img/pos_quantity.png
46+
47+
**Table of contents**
48+
49+
.. contents::
50+
:local:
51+
52+
Configuration
53+
=============
54+
55+
In "Point of Sale" configuration "Product Quantity" section activate
56+
"Display Product Quantity" feature:
57+
58+
|Pos Config|
59+
60+
By default quantity is displayed for the warehouse that is used in the
61+
POS stock operation type.
62+
63+
You can add additional warehouses to show quantity in by adding them
64+
into "Additional Warehouses" field.
65+
66+
In this case the following information will be displayed on product
67+
tiles:
68+
69+
- Total quantity = quantity in the default warehouse + quantity in the
70+
additional warehouses
71+
- Quantity in the default warehouse
72+
- Quantity in the additional warehouses.
73+
74+
.. |Pos Config| image:: https://raw.githubusercontent.com/OCA/pos/17.0/pos_stock_available_online/static/img/pos_config.png
75+
76+
Known issues / Roadmap
77+
======================
78+
79+
This module requires connection to update quantities and doesn't support
80+
offline mode. Warehouses must belong to the same company as POS. Offline
81+
mode support (probably additional module).
82+
83+
Bug Tracker
84+
===========
85+
86+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/pos/issues>`_.
87+
In case of trouble, please check there if your issue has already been reported.
88+
If you spotted it first, help us to smash it by providing a detailed and welcomed
89+
`feedback <https://github.com/OCA/pos/issues/new?body=module:%20pos_stock_available_online%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
90+
91+
Do not contact contributors directly about support or help with technical issues.
92+
93+
Credits
94+
=======
95+
96+
Authors
97+
-------
98+
99+
* Cetmix
100+
101+
Contributors
102+
------------
103+
104+
- Cetmix <`https://cetmix.com/\\> <https://cetmix.com/\>>`__
105+
- Dinar Gabbasov
106+
107+
Maintainers
108+
-----------
109+
110+
This module is maintained by the OCA.
111+
112+
.. image:: https://odoo-community.org/logo.png
113+
:alt: Odoo Community Association
114+
:target: https://odoo-community.org
115+
116+
OCA, or the Odoo Community Association, is a nonprofit organization whose
117+
mission is to support the collaborative development of Odoo features and
118+
promote its widespread use.
119+
120+
This module is part of the `OCA/pos <https://github.com/OCA/pos/tree/17.0/pos_stock_available_online>`_ project on GitHub.
121+
122+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "Point of Sale Stock Available Online",
3+
"version": "17.0.1.0.0",
4+
"category": "Sales/Point of Sale",
5+
"summary": "Show the available quantity of products in the Point of Sale ",
6+
"depends": [
7+
"point_of_sale",
8+
"stock_available",
9+
"base_automation",
10+
],
11+
"website": "https://github.com/OCA/pos",
12+
"author": "Cetmix, Odoo Community Association (OCA)",
13+
"images": ["static/description/banner.png"],
14+
"installable": True,
15+
"data": ["views/res_config_settings_view.xml"],
16+
"assets": {
17+
"point_of_sale._assets_pos": [
18+
"pos_stock_available_online/static/src/app/**/*.scss",
19+
"pos_stock_available_online/static/src/app/**/*.js",
20+
"pos_stock_available_online/static/src/app/**/*.xml",
21+
],
22+
},
23+
"license": "AGPL-3",
24+
}
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * pos_stock_available_online
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2024-10-24 11:06+0000\n"
10+
"Last-Translator: Daniel Duque <[email protected]>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 5.6.2\n"
18+
19+
#. module: pos_stock_available_online
20+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_pos_config__additional_warehouse_ids
21+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_res_config_settings__pos_additional_warehouse_ids
22+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
23+
msgid "Additional Warehouses"
24+
msgstr "Almacenes Adicionales"
25+
26+
#. module: pos_stock_available_online
27+
#: model:ir.model,name:pos_stock_available_online.model_res_config_settings
28+
msgid "Config Settings"
29+
msgstr "Ajustes de Configuración"
30+
31+
#. module: pos_stock_available_online
32+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_pos_config__display_product_quantity
33+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_res_config_settings__pos_display_product_quantity
34+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
35+
msgid "Display Product Quantity"
36+
msgstr "Mostrar Cantidad de Productos"
37+
38+
#. module: pos_stock_available_online
39+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
40+
msgid "Display the quantity of available products in the POS for"
41+
msgstr "Mostrar la cantidad de productos disponibles en el TPV para"
42+
43+
#. module: pos_stock_available_online
44+
#: model:ir.model.fields,help:pos_stock_available_online.field_pos_config__additional_warehouse_ids
45+
#: model:ir.model.fields,help:pos_stock_available_online.field_res_config_settings__pos_additional_warehouse_ids
46+
msgid ""
47+
"For the selected warehouses will be displayed quantity of available products "
48+
"in the POS"
49+
msgstr ""
50+
"Para los almacenes seleccionados se mostrará la cantidad de productos "
51+
"disponibles en el TPV"
52+
53+
#. module: pos_stock_available_online
54+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_pos_config__main_warehouse_id
55+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_res_config_settings__pos_main_warehouse_id
56+
msgid "Main Warehouse"
57+
msgstr ""
58+
59+
#. module: pos_stock_available_online
60+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
61+
msgid "Mark quantity red if below or equal this value."
62+
msgstr "Marque la cantidad en rojo si es inferior o igual a este valor."
63+
64+
#. module: pos_stock_available_online
65+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_pos_config__minimum_product_quantity_alert
66+
#: model:ir.model.fields,field_description:pos_stock_available_online.field_res_config_settings__pos_minimum_product_quantity_alert
67+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
68+
msgid "Minimum Product Quantity Alert"
69+
msgstr "Alerta de Cantidad Mínima de Producto"
70+
71+
#. module: pos_stock_available_online
72+
#: model:ir.model,name:pos_stock_available_online.model_pos_config
73+
msgid "Point of Sale Configuration"
74+
msgstr "Configuración del Punto de Venta"
75+
76+
#. module: pos_stock_available_online
77+
#: model:ir.model,name:pos_stock_available_online.model_pos_session
78+
msgid "Point of Sale Session"
79+
msgstr "Sesiones del Punto de Venta"
80+
81+
#. module: pos_stock_available_online
82+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
83+
msgid "Product Quantity"
84+
msgstr "Cantidad de Productos"
85+
86+
#. module: pos_stock_available_online
87+
#: model:ir.model,name:pos_stock_available_online.model_stock_quant
88+
msgid "Quants"
89+
msgstr "Quants"
90+
91+
#. module: pos_stock_available_online
92+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
93+
msgid "Show quantity in the following warehouses in additional to"
94+
msgstr "Indicar la cantidad en los siguientes almacenes además de"
95+
96+
#. module: pos_stock_available_online
97+
#: model:ir.model,name:pos_stock_available_online.model_stock_move
98+
msgid "Stock Move"
99+
msgstr ""
100+
101+
#. module: pos_stock_available_online
102+
#: model:ir.model,name:pos_stock_available_online.model_stock_notifier_pos_mixin
103+
msgid "Stock Notifier POS Mixin"
104+
msgstr ""
105+
106+
#. module: pos_stock_available_online
107+
#. odoo-javascript
108+
#: code:addons/pos_stock_available_online/static/src/xml/Screens/ProductScreen/ProductItem.xml:0
109+
#, python-format
110+
msgid "Total"
111+
msgstr "Total"
112+
113+
#. module: pos_stock_available_online
114+
#: model:ir.model,name:pos_stock_available_online.model_stock_warehouse
115+
msgid "Warehouse"
116+
msgstr "Almacén"
117+
118+
#. module: pos_stock_available_online
119+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
120+
msgid "Warehouses must belong to the same company as POS."
121+
msgstr "Los almacenes deben pertenecer a la misma compañía que el TPV."
122+
123+
#. module: pos_stock_available_online
124+
#: model_terms:ir.ui.view,arch_db:pos_stock_available_online.res_config_settings_view_form
125+
msgid "warehouse"
126+
msgstr "almacén"

0 commit comments

Comments
 (0)