diff --git a/pos_product_reference/README.rst b/pos_product_reference/README.rst new file mode 100755 index 000000000..d6dd4b7c5 --- /dev/null +++ b/pos_product_reference/README.rst @@ -0,0 +1,13 @@ +Product Reference in POS v11 +====================================== + + This module enables user to print the product Reference in in POS receipts + +Installation +============ + - www.odoo.com/documentation/11.0/setup/install.html + - Install our custom addon + +Credits +======= + Developer: IJAZ AHAMMED E @ cybrosys, Contact: odoo@cybrosys.com diff --git a/pos_product_reference/__init__.py b/pos_product_reference/__init__.py new file mode 100644 index 000000000..40a96afc6 --- /dev/null +++ b/pos_product_reference/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/pos_product_reference/__manifest__.py b/pos_product_reference/__manifest__.py new file mode 100755 index 000000000..29345191b --- /dev/null +++ b/pos_product_reference/__manifest__.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Author: IJAZ AHAMMED E() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + 'name': 'Product reference In POS', + 'version': '11.0.1.0.0', + 'summary': """Product Reference in pos screen and receipt""", + 'description': """This module enables user to print the Product Reference in POS receipts""", + 'author': "Cybrosys Techno Solutions", + 'company': 'Cybrosys Techno Solutions', + 'website': 'http://www.cybrosys.com', + 'maintainer': 'Cybrosys Techno Solutions', + 'category': 'Point of Sale', + 'depends': ['point_of_sale', 'product'], + 'data': [ + 'views/reciept_template.xml', + ], + 'qweb': ['static/src/xml/*.xml'], + 'demo': [], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/pos_product_reference/doc/RELEASE_NOTES.md b/pos_product_reference/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..d235a0df1 --- /dev/null +++ b/pos_product_reference/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 6.04.2019 +#### Version 11.0.1.0.0 +##### ADD +- Initial commit for Product reference in Pos diff --git a/pos_product_reference/static/description/1.png b/pos_product_reference/static/description/1.png new file mode 100644 index 000000000..b8c0adac1 Binary files /dev/null and b/pos_product_reference/static/description/1.png differ diff --git a/pos_product_reference/static/description/2.png b/pos_product_reference/static/description/2.png new file mode 100644 index 000000000..dbe9aaf4c Binary files /dev/null and b/pos_product_reference/static/description/2.png differ diff --git a/pos_product_reference/static/description/3.png b/pos_product_reference/static/description/3.png new file mode 100644 index 000000000..b7e1fb2fa Binary files /dev/null and b/pos_product_reference/static/description/3.png differ diff --git a/pos_product_reference/static/description/banner.jpg b/pos_product_reference/static/description/banner.jpg new file mode 100644 index 000000000..ff3225832 Binary files /dev/null and b/pos_product_reference/static/description/banner.jpg differ diff --git a/pos_product_reference/static/description/icon.png b/pos_product_reference/static/description/icon.png new file mode 100644 index 000000000..303776e17 Binary files /dev/null and b/pos_product_reference/static/description/icon.png differ diff --git a/pos_product_reference/static/description/index.html b/pos_product_reference/static/description/index.html new file mode 100644 index 000000000..f48ca87e3 --- /dev/null +++ b/pos_product_reference/static/description/index.html @@ -0,0 +1,344 @@ + +
+
+

+ product Reference in POS Order lines and Receipt +

+

+ This module enables user to print the product Reference in POS receipts +

+
+ Cybrosys Technologies +
+ +
+ cybrosys technologies
+
+
+
+ +
+
+

+ Overview +

+

+ The module helps in printing the product’s Reference in in their POS Receipts. + Also, it enables the end user to view products with Product reference in the POS Screen. +

+
+
+ +
+
+

+ Features +

+

+ + Product names with product reference. +

+

+ + Print POS receipts with Product references. +

+
+
+ +
+
+

+ Screenshots +

+

+ + +      The product reference will displays with product name.
+

+
+ +
+

+ + +      Product Reference In Pos Order Lines .
+

+
+ +
+

+ + +      The receipt generated by POS is as follows.
+

+
+ +
+
+
+ +
+
+ cybrosys technologies +
+
+
+
+

+ Our Services +

+
+ + + +
+ +
+ + + +
+

+ + Odoo Support +

+ +
+ +
+
+
+
+
+

+ Our Industries +

+
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + Trading + +

+

+ Easily procure and sell your products. +

+
+ +
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + Manufacturing +

+

+ Plan, track and schedule your operations. +

+
+ +
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + Restaurant +

+

+ Run your bar or restaurant methodical. +

+
+ +
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + POS +

+

+ Easy configuring and convivial selling. +

+
+ +
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + E-commerce & Website +

+

+ Mobile friendly, awe-inspiring product pages. +

+
+
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + Hotel Management +

+

+ An all-inclusive hotel management application. +

+
+
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + Education +

+

+ A Collaborative platform for educational management. +

+
+
+
+ +
+
+ + Odoo Industry + +
+
+
+

+ + Service Management +

+

+ Keep track of services and invoice accordingly. +

+
+
+
+
+
+
+ +
diff --git a/pos_product_reference/static/src/js/pos_receipt.js b/pos_product_reference/static/src/js/pos_receipt.js new file mode 100644 index 000000000..f0037b145 --- /dev/null +++ b/pos_product_reference/static/src/js/pos_receipt.js @@ -0,0 +1,7 @@ +odoo.define('pos_product_reference.pos_receipt', function (require) { +"use strict"; + +var gui = require('point_of_sale.gui'); +var models = require('point_of_sale.models'); +models.load_fields("product.product", ['default_code']); +}); \ No newline at end of file diff --git a/pos_product_reference/static/src/xml/pos_screen.xml b/pos_product_reference/static/src/xml/pos_screen.xml new file mode 100644 index 000000000..219121ce9 --- /dev/null +++ b/pos_product_reference/static/src/xml/pos_screen.xml @@ -0,0 +1,26 @@ + + + + + + + [] + + + + + + + [] + + + + + + + [] + + + + + diff --git a/pos_product_reference/views/reciept_template.xml b/pos_product_reference/views/reciept_template.xml new file mode 100644 index 000000000..c33ed2435 --- /dev/null +++ b/pos_product_reference/views/reciept_template.xml @@ -0,0 +1,8 @@ + + +