From f1c8cf841426d709d8e447b1826b75cf725bd1e8 Mon Sep 17 00:00:00 2001 From: santiky Date: Sun, 22 Aug 2021 22:57:36 +0200 Subject: [PATCH] =?UTF-8?q?a=C3=B1adido=20pos=5Fproduct=5Favailable=20desd?= =?UTF-8?q?e=20odoo=20app=20https://apps.odoo.com/apps/modules/12.0/pos=5F?= =?UTF-8?q?product=5Favailable/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pos_product_available/README.rst | 35 +++ pos_product_available/__init__.py | 3 + pos_product_available/__manifest__.py | 30 +++ pos_product_available/data.xml | 34 +++ pos_product_available/doc/changelog.rst | 46 ++++ pos_product_available/doc/index.rst | 8 + pos_product_available/doc/src/index.html | 47 ++++ pos_product_available/doc/src/info.yaml | 1 + pos_product_available/i18n/de.po | 72 ++++++ pos_product_available/i18n/es.po | 73 ++++++ .../images/pos_product_available.jpg | Bin 0 -> 246689 bytes pos_product_available/models/__init__.py | 2 + pos_product_available/models/models.py | 12 + .../static/description/icon.png | Bin 0 -> 1915 bytes .../static/description/index.html | 145 +++++++++++ .../static/description/screenshot-2.png | Bin 0 -> 98234 bytes .../static/description/screenshot.png | Bin 0 -> 39601 bytes pos_product_available/static/src/css/pos.css | 24 ++ pos_product_available/static/src/js/pos.js | 233 ++++++++++++++++++ .../static/src/js/test_pos_quantities.js | 142 +++++++++++ pos_product_available/static/src/xml/pos.xml | 34 +++ pos_product_available/tests/__init__.py | 3 + .../tests/test_quantities.py | 64 +++++ pos_product_available/views/views.xml | 22 ++ 24 files changed, 1030 insertions(+) create mode 100644 pos_product_available/README.rst create mode 100644 pos_product_available/__init__.py create mode 100644 pos_product_available/__manifest__.py create mode 100644 pos_product_available/data.xml create mode 100644 pos_product_available/doc/changelog.rst create mode 100644 pos_product_available/doc/index.rst create mode 100644 pos_product_available/doc/src/index.html create mode 100644 pos_product_available/doc/src/info.yaml create mode 100644 pos_product_available/i18n/de.po create mode 100644 pos_product_available/i18n/es.po create mode 100644 pos_product_available/images/pos_product_available.jpg create mode 100644 pos_product_available/models/__init__.py create mode 100644 pos_product_available/models/models.py create mode 100644 pos_product_available/static/description/icon.png create mode 100644 pos_product_available/static/description/index.html create mode 100644 pos_product_available/static/description/screenshot-2.png create mode 100644 pos_product_available/static/description/screenshot.png create mode 100644 pos_product_available/static/src/css/pos.css create mode 100644 pos_product_available/static/src/js/pos.js create mode 100644 pos_product_available/static/src/js/test_pos_quantities.js create mode 100644 pos_product_available/static/src/xml/pos.xml create mode 100644 pos_product_available/tests/__init__.py create mode 100644 pos_product_available/tests/test_quantities.py create mode 100644 pos_product_available/views/views.xml diff --git a/pos_product_available/README.rst b/pos_product_available/README.rst new file mode 100644 index 0000000..71dcbed --- /dev/null +++ b/pos_product_available/README.rst @@ -0,0 +1,35 @@ +.. image:: https://itpp.dev/images/infinity-readme.png + :alt: Tested and maintained by IT Projects Labs + :target: https://itpp.dev + +.. image:: https://img.shields.io/badge/license-MIT-blue.svg + :target: https://opensource.org/licenses/MIT + :alt: License: MIT + +======================= + POS: show product qty +======================= + +Adds available quantity at products in POS + +Module potentialy isn't compatible with modules that overrides `get_price` method in JS + +Questions? +========== + +To get an assistance on this module contact us by email :arrow_right: help@itpp.dev + +Contributors +============ +* `Ivan Yelizariev `__ + + +Further information +=================== + +Odoo Apps Store: https://apps.odoo.com/apps/modules/12.0/pos_product_available/ + + +Notifications on updates: `via Atom `_, `by Email `_ + +Tested on `Odoo 12.0 `_ diff --git a/pos_product_available/__init__.py b/pos_product_available/__init__.py new file mode 100644 index 0000000..1d99e04 --- /dev/null +++ b/pos_product_available/__init__.py @@ -0,0 +1,3 @@ +# License MIT (https://opensource.org/licenses/MIT). + +from . import models diff --git a/pos_product_available/__manifest__.py b/pos_product_available/__manifest__.py new file mode 100644 index 0000000..d5ef6b3 --- /dev/null +++ b/pos_product_available/__manifest__.py @@ -0,0 +1,30 @@ +# Copyright 2014-2018 Ivan Yelizariev +# Copyright 2017 Gabbasov Dinar +# Copyright 2018-2019 Kolushov Alexandr +# Copyright 2018 Ildar Nasyrov +# License MIT (https://opensource.org/licenses/MIT). +{ + "name": """POS: show product qty""", + "summary": """Adds available quantity at products in POS""", + "category": "Point Of Sale", + # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version={ODOO_BRANCH}", + "images": ["images/pos_product_available.jpg"], + "version": "12.0.1.1.1", + "application": False, + "author": "IT-Projects LLC, Ivan Yelizariev", + "support": "apps@itpp.dev", + "website": "https://apps.odoo.com/apps/modules/12.0/pos_product_available/", + "license": "Other OSI approved licence", # MIT + # "price": 9.00, + # "currency": "EUR", + "depends": ["point_of_sale", "stock"], + "external_dependencies": {"python": [], "bin": []}, + "data": ["data.xml", "views/views.xml"], + "qweb": ["static/src/xml/pos.xml"], + "post_load": None, + "pre_init_hook": None, + "post_init_hook": None, + "uninstall_hook": None, + "auto_install": False, + "installable": True, +} diff --git a/pos_product_available/data.xml b/pos_product_available/data.xml new file mode 100644 index 0000000..bcf97fa --- /dev/null +++ b/pos_product_available/data.xml @@ -0,0 +1,34 @@ + + + +