Browse Source

📖 pos_keyboard

pull/155/head
KolushovAlexandr 5 years ago
committed by Vincent Van Rossem
parent
commit
62f6d69ada
  1. 5
      pos_keyboard/README.rst
  2. 1
      pos_keyboard/__init__.py
  3. 61
      pos_keyboard/__manifest__.py
  4. 3
      pos_keyboard/data.xml
  5. 2
      pos_keyboard/doc/index.rst
  6. 5
      pos_keyboard/static/src/js/pos.js

5
pos_keyboard/README.rst

@ -1,10 +1,13 @@
.. image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: https://www.gnu.org/licenses/lgpl
:alt: License: LGPL-3
=================================== ===================================
Keyboard support in Point Of Sale Keyboard support in Point Of Sale
=================================== ===================================
The module allows to apply the usual keyboard (not the virtual one) in the Point of Sale. The module allows to apply the usual keyboard (not the virtual one) in the Point of Sale.
Credits Credits
======= =======

1
pos_keyboard/__init__.py

@ -0,0 +1 @@
# -*- coding: utf-8 -*-

61
pos_keyboard/__manifest__.py

@ -1,20 +1,53 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2015 igallyamov <https://github.com/igallyamov>
# Copyright 2016 ufaks <https://github.com/ufaks>
# Copyright 2016-2018 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
# Copyright 2018 Ruslan Ronzhin <https://it-projects.info/team/rusllan>
# Copyright 2019 Kolushov Alexandr <https://it-projects.info/team/kolushovalexandr>
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
{ {
'name': "Keyboard support in Point Of Sale",
'author': "IT-Projects LLC, Ivan Yelizariev",
'summary': 'The module allows to apply the usual keyboard (not the virtual one) in the Point of Sale',
"support": "pos@it-projects.info",
"website": "https://it-projects.info",
'images': ['images/keyboard.png'],
'category': 'Point Of Sale',
'license': 'LGPL-3',
'version': '10.0.1.1.1',
'depends': ['point_of_sale'],
"name": """Keyboard support in Point Of Sale""",
"summary": """Module allows to use usual keyboard (not virtual one) in Point of Sale""",
"category": "Point Of Sale",
# "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version={ODOO_BRANCH}",
"images": ['images/keyboard.png'],
"version": "10.0.1.1.1",
"application": False,
"author": "IT-Projects LLC, Ivan Yelizariev",
"support": "apps@it-projects.info",
"website": "https://it-projects.info/team/yelizariev",
"license": "LGPL-3",
"price": 15.00, "price": 15.00,
"currency": "EUR", "currency": "EUR",
'data': [
'data.xml',
"depends": [
"point_of_sale",
], ],
'installable': True,
'auto_install': False,
"external_dependencies": {"python": [], "bin": []},
"data": [
],
"demo": [
],
"qweb": [
],
"post_load": None,
"pre_init_hook": None,
"post_init_hook": None,
"uninstall_hook": None,
"auto_install": False,
"installable": True,
# "demo_title": "{MODULE_NAME}",
# "demo_addons": [
# ],
# "demo_addons_hidden": [
# ],
# "demo_url": "DEMO-URL",
# "demo_summary": "{SHORT_DESCRIPTION_OF_THE_MODULE}",
# "demo_images": [
# "images/MAIN_IMAGE",
# ]
} }

3
pos_keyboard/data.xml

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--Copyright 2015 igallyamov <https://github.com/igallyamov>
Copyright 2016 ufaks <https://github.com/ufaks>
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). -->
<openerp> <openerp>
<template id="assets" inherit_id="point_of_sale.assets"> <template id="assets" inherit_id="point_of_sale.assets">

2
pos_keyboard/doc/index.rst

@ -16,7 +16,7 @@ If you want to reset the amount of product to zero or delete them you can use ``
=========== ===================== ================= =========== ===================== =================
Type Numpad Extra keys
Type Numpad Extra keys
=========== ===================== ================= =========== ===================== =================
mode qty ``/`` ``q`` mode qty ``/`` ``q``
----------- --------------------- ----------------- ----------- --------------------- -----------------

5
pos_keyboard/static/src/js/pos.js

@ -1,3 +1,8 @@
/* Copyright 2015 igallyamov <https://github.com/igallyamov>
Copyright 2016 ufaks <https://github.com/ufaks>
Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
Copyright 2019 Kolushov Alexandr <https://it-projects.info/team/kolushovalexandr>
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). */
odoo.define('pos_keyboard.pos', function (require) { odoo.define('pos_keyboard.pos', function (require) {
"use strict"; "use strict";

Loading…
Cancel
Save