diff --git a/point_of_sale_logo/README.rst b/point_of_sale_logo/README.rst new file mode 100755 index 000000000..7bf596acd --- /dev/null +++ b/point_of_sale_logo/README.rst @@ -0,0 +1,45 @@ +Point of Sale Logo v14 +====================== +This module helps you to set a logo for every point of sale. This will help you to +identify the point of sale easily. You can also see this logo in pos screen and pos receipt + + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: Jesni Banu @ cybrosys + Niyas Raphy@cybrosys + +Version 13: Nimisha Murali@cybrosys +Version 14: Jibin James @cybrosys + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ + + diff --git a/point_of_sale_logo/__init__.py b/point_of_sale_logo/__init__.py new file mode 100755 index 000000000..b6ce483db --- /dev/null +++ b/point_of_sale_logo/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import models + diff --git a/point_of_sale_logo/__manifest__.py b/point_of_sale_logo/__manifest__.py new file mode 100755 index 000000000..3773a1b65 --- /dev/null +++ b/point_of_sale_logo/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': 'Point of Sale Logo', + 'version': '14.0.1.0.0', + 'summary': """Logo For Every Point of Sale (Screen & Receipt)""", + 'description': """"This module helps you to set a logo for every point of sale. This will help you to + identify the point of sale easily. You can also see this logo in pos screen and pos receipt.""", + 'category': 'Point Of Sale', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': "http://www.cybrosys.com", + 'depends': ['base', 'point_of_sale'], + 'data': [ + 'views/pos_config_image_view.xml', + 'views/pos_image_view.xml', + ], + 'qweb': ['static/src/xml/pos_ticket_view.xml', + 'static/src/xml/pos_screen_image_view.xml'], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/point_of_sale_logo/doc/RELEASE_NOTES.md b/point_of_sale_logo/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..9aab10709 --- /dev/null +++ b/point_of_sale_logo/doc/RELEASE_NOTES.md @@ -0,0 +1,9 @@ +## Module + +#### 5.12.2020 +#### Version 14.0.1.0.0 +#### ADD +Initial commit for Point of Sale Logo + + + diff --git a/point_of_sale_logo/models/__init__.py b/point_of_sale_logo/models/__init__.py new file mode 100755 index 000000000..27dd874c2 --- /dev/null +++ b/point_of_sale_logo/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import pos_config_image + diff --git a/point_of_sale_logo/models/pos_config_image.py b/point_of_sale_logo/models/pos_config_image.py new file mode 100755 index 000000000..a323feb38 --- /dev/null +++ b/point_of_sale_logo/models/pos_config_image.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from odoo import models, fields + + +class PosConfigImage(models.Model): + _inherit = 'pos.config' + + image = fields.Binary(string='Image') diff --git a/point_of_sale_logo/static/description/Point of Sale Logo-icon.png b/point_of_sale_logo/static/description/Point of Sale Logo-icon.png new file mode 100644 index 000000000..520bbad75 Binary files /dev/null and b/point_of_sale_logo/static/description/Point of Sale Logo-icon.png differ diff --git a/point_of_sale_logo/static/description/banner.png b/point_of_sale_logo/static/description/banner.png new file mode 100644 index 000000000..d51017164 Binary files /dev/null and b/point_of_sale_logo/static/description/banner.png differ diff --git a/point_of_sale_logo/static/description/icon.png b/point_of_sale_logo/static/description/icon.png new file mode 100644 index 000000000..08cd31943 Binary files /dev/null and b/point_of_sale_logo/static/description/icon.png differ diff --git a/point_of_sale_logo/static/description/images/banner_lifeline_for_task.jpeg b/point_of_sale_logo/static/description/images/banner_lifeline_for_task.jpeg new file mode 100644 index 000000000..4a467ea22 Binary files /dev/null and b/point_of_sale_logo/static/description/images/banner_lifeline_for_task.jpeg differ diff --git a/point_of_sale_logo/static/description/images/banner_project_report_xls_pdf.png b/point_of_sale_logo/static/description/images/banner_project_report_xls_pdf.png new file mode 100644 index 000000000..3c430a7eb Binary files /dev/null and b/point_of_sale_logo/static/description/images/banner_project_report_xls_pdf.png differ diff --git a/point_of_sale_logo/static/description/images/banner_project_status_report.png b/point_of_sale_logo/static/description/images/banner_project_status_report.png new file mode 100644 index 000000000..d1b689710 Binary files /dev/null and b/point_of_sale_logo/static/description/images/banner_project_status_report.png differ diff --git a/point_of_sale_logo/static/description/images/banner_subtask.jpeg b/point_of_sale_logo/static/description/images/banner_subtask.jpeg new file mode 100644 index 000000000..f2b224110 Binary files /dev/null and b/point_of_sale_logo/static/description/images/banner_subtask.jpeg differ diff --git a/point_of_sale_logo/static/description/images/banner_task_deadline_reminder.jpeg b/point_of_sale_logo/static/description/images/banner_task_deadline_reminder.jpeg new file mode 100644 index 000000000..998679818 Binary files /dev/null and b/point_of_sale_logo/static/description/images/banner_task_deadline_reminder.jpeg differ diff --git a/point_of_sale_logo/static/description/images/banner_task_statusbar.jpeg b/point_of_sale_logo/static/description/images/banner_task_statusbar.jpeg new file mode 100644 index 000000000..2c57cbb7b Binary files /dev/null and b/point_of_sale_logo/static/description/images/banner_task_statusbar.jpeg differ diff --git a/point_of_sale_logo/static/description/images/checked.png b/point_of_sale_logo/static/description/images/checked.png new file mode 100644 index 000000000..578cedb80 Binary files /dev/null and b/point_of_sale_logo/static/description/images/checked.png differ diff --git a/point_of_sale_logo/static/description/images/cybo bill.png b/point_of_sale_logo/static/description/images/cybo bill.png new file mode 100644 index 000000000..d3c579d8a Binary files /dev/null and b/point_of_sale_logo/static/description/images/cybo bill.png differ diff --git a/point_of_sale_logo/static/description/images/cybro pos.png b/point_of_sale_logo/static/description/images/cybro pos.png new file mode 100644 index 000000000..6a00bf5b3 Binary files /dev/null and b/point_of_sale_logo/static/description/images/cybro pos.png differ diff --git a/point_of_sale_logo/static/description/images/cybrosys.png b/point_of_sale_logo/static/description/images/cybrosys.png new file mode 100644 index 000000000..d76b5bafb Binary files /dev/null and b/point_of_sale_logo/static/description/images/cybrosys.png differ diff --git a/point_of_sale_logo/static/description/images/logo comparison.png b/point_of_sale_logo/static/description/images/logo comparison.png new file mode 100644 index 000000000..99d6f4f23 Binary files /dev/null and b/point_of_sale_logo/static/description/images/logo comparison.png differ diff --git a/point_of_sale_logo/static/description/images/logo.png b/point_of_sale_logo/static/description/images/logo.png new file mode 100644 index 000000000..6a48bb244 Binary files /dev/null and b/point_of_sale_logo/static/description/images/logo.png differ diff --git a/point_of_sale_logo/static/description/images/parcel bill.png b/point_of_sale_logo/static/description/images/parcel bill.png new file mode 100644 index 000000000..ea4fd2f5c Binary files /dev/null and b/point_of_sale_logo/static/description/images/parcel bill.png differ diff --git a/point_of_sale_logo/static/description/images/parcel pos.png b/point_of_sale_logo/static/description/images/parcel pos.png new file mode 100644 index 000000000..78025eba9 Binary files /dev/null and b/point_of_sale_logo/static/description/images/parcel pos.png differ diff --git a/point_of_sale_logo/static/description/index.html b/point_of_sale_logo/static/description/index.html new file mode 100644 index 000000000..25c7963e9 --- /dev/null +++ b/point_of_sale_logo/static/description/index.html @@ -0,0 +1,301 @@ +
cybrosys-logo
+
+
+
+

Point of Sale Logo

+

Logo For Every Point of Sale

+
+

Key Highlights

+
    +
  • Logo for each point of sale.
  • +
  • Logo in pos screen.
  • +
  • Logo in pos receipt.
  • +
+
+ + +
+
+ +
+
+
+
+ +
+
+ +

Overview

+
+

+ This module helps you to set a logo for every point of sale. This will help you to identify the point of sale easily. You can also see this logo in pos screen and pos receipt.

+
+
+ +

Point of Sale Logo

+
+
    + +
  • + Logo for each point of sale. +
  • + +
  • + Logo in pos screen. +
  • + +
  • + Logo in pos receipt. +
  • + +
+
+ +
+
+

Screenshots

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

Suggested Products

+
+ +
+
+

Our Service

+
+ +
+
+
+

Our Industries

+
+ +
+
+
+ +
+
+

Trading

+

Easily procure and sell your products.

+
+
+
+
+ +
+
+

Manufacturing

+

Plan, track and schedule your operations.

+
+
+
+
+ +
+
+

Restaurant

+

Run your bar or restaurant methodical.

+
+
+
+
+ +
+
+

POS

+

Easy configuring and convivial selling.

+
+
+
+
+ +
+
+

E-commerce & Website

+

Mobile friendly, awe-inspiring product pages.

+
+
+
+
+ +
+
+

Hotel Management

+

An all-inclusive hotel management application.

+
+
+
+
+ +
+
+

Education

+

A Collaborative platform for educational management.

+
+
+
+
+ +
+
+

Service Management

+

Keep track of services and invoice accordingly.

+
+
+
+
+ +
+
+
+
+

Need Any Help?

+
+

If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support.

+
+

Email us

+

odoo@cybrosys.com / info@cybrosys.com

+
+
+

Contact Us

+ www.cybrosys.com +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + +
+
+
+ \ No newline at end of file diff --git a/point_of_sale_logo/static/src/js/pos_image_field.js b/point_of_sale_logo/static/src/js/pos_image_field.js new file mode 100755 index 000000000..cc5566d23 --- /dev/null +++ b/point_of_sale_logo/static/src/js/pos_image_field.js @@ -0,0 +1,24 @@ +odoo.define("point_of_sale_logo.pos_image_field", function (require) { + "use strict"; + const Registries = require('point_of_sale.Registries'); + const Chrome = require('point_of_sale.Chrome'); + const PosLogoChrome = (Chrome) => + class extends Chrome { + get imageUrl() { + if (this.env.pos){ + + if (this.env.pos.config){ + if (this.env.pos.config.image != false){ + return `/web/image?model=pos.config&field=image&id=${this.env.pos.config_id}&unique=1`; + + + }else{ + return false + } + } + } + } + }; + Registries.Component.extend(Chrome, PosLogoChrome); + return Chrome; +}); \ No newline at end of file diff --git a/point_of_sale_logo/static/src/js/pos_receipt_image.js b/point_of_sale_logo/static/src/js/pos_receipt_image.js new file mode 100644 index 000000000..3df040417 --- /dev/null +++ b/point_of_sale_logo/static/src/js/pos_receipt_image.js @@ -0,0 +1,23 @@ +odoo.define("point_of_sale_logo.pos_receipt_image", function (require) { + "use strict"; + const Registries = require('point_of_sale.Registries'); + const OrderReceipt = require('point_of_sale.OrderReceipt'); + const PosReceiptLogoChrome = (OrderReceipt) => + class extends OrderReceipt { + get imageUrl() { + if (this.env.pos){ + if (this.env.pos.config){ + if (this.env.pos.config.image != false){ + return `/web/image?model=pos.config&field=image&id=${this.env.pos.config_id}&unique=1`; + + + }else{ + return false + } + } + } + } + }; + Registries.Component.extend(OrderReceipt, PosReceiptLogoChrome); + return OrderReceipt; +}); \ No newline at end of file diff --git a/point_of_sale_logo/static/src/xml/pos_screen_image_view.xml b/point_of_sale_logo/static/src/xml/pos_screen_image_view.xml new file mode 100755 index 000000000..c49efab61 --- /dev/null +++ b/point_of_sale_logo/static/src/xml/pos_screen_image_view.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/point_of_sale_logo/static/src/xml/pos_ticket_view.xml b/point_of_sale_logo/static/src/xml/pos_ticket_view.xml new file mode 100755 index 000000000..f377aa0d7 --- /dev/null +++ b/point_of_sale_logo/static/src/xml/pos_ticket_view.xml @@ -0,0 +1,22 @@ + + + + + +
+ + + + + + +
+
+ +
+
+
+
+
+ +
diff --git a/point_of_sale_logo/views/pos_config_image_view.xml b/point_of_sale_logo/views/pos_config_image_view.xml new file mode 100755 index 000000000..f5a8a0528 --- /dev/null +++ b/point_of_sale_logo/views/pos_config_image_view.xml @@ -0,0 +1,15 @@ + + + + + pos.config.inherit.form + pos.config + + + + + + + + + \ No newline at end of file diff --git a/point_of_sale_logo/views/pos_image_view.xml b/point_of_sale_logo/views/pos_image_view.xml new file mode 100755 index 000000000..4c9177e92 --- /dev/null +++ b/point_of_sale_logo/views/pos_image_view.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/pos_order_line_image/README.rst b/pos_order_line_image/README.rst new file mode 100755 index 000000000..08f304851 --- /dev/null +++ b/pos_order_line_image/README.rst @@ -0,0 +1,43 @@ +================================ +Pos Order Line Product Image v14 +================================ +This module adds product image in pos order lines. + + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: Aswani pc @ cybrosys, odoo@cybrosys.com + Nimisha Murali V13 @cybrosys,odoo@cybrosys.com + Jibin James V14 @cybrosys,odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ + + diff --git a/pos_order_line_image/__init__.py b/pos_order_line_image/__init__.py new file mode 100755 index 000000000..983752e14 --- /dev/null +++ b/pos_order_line_image/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Aswani pc @ cybrosys(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + diff --git a/pos_order_line_image/__manifest__.py b/pos_order_line_image/__manifest__.py new file mode 100755 index 000000000..6925662b7 --- /dev/null +++ b/pos_order_line_image/__manifest__.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2019-TODAY Cybrosys Technologies(). +# Author: Aswani pc @ cybrosys(odoo@cybrosys.com) +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Pos Order Line Product Image", + 'version': '14.0.1.0.0', + 'summary': """Product image in pos order lines""", + 'description': """This module adds product image in pos order lines, Odoo14, Odoo 14""", + 'author': "Cybrosys Techno Solutions", + 'company': "Cybrosys Techno Solutions", + 'website': "https://www.cybrosys.com", + 'category': 'Point of Sale', + 'depends': ['point_of_sale'], + 'data': ['views/pos_order_line_image.xml'], + 'qweb': ['static/src/xml/pos_order_line.xml'], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, +} diff --git a/pos_order_line_image/doc/RELEASE_NOTES.md b/pos_order_line_image/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..bf955a676 --- /dev/null +++ b/pos_order_line_image/doc/RELEASE_NOTES.md @@ -0,0 +1,9 @@ +## Module + +#### 30.11.2020 +#### Version 14.0.1.0.0 +#### Migration +Migration Of Pos Order Line Product Image + + + diff --git a/pos_order_line_image/static/description/banner.png b/pos_order_line_image/static/description/banner.png new file mode 100644 index 000000000..6386a077b Binary files /dev/null and b/pos_order_line_image/static/description/banner.png differ diff --git a/pos_order_line_image/static/description/icon.png b/pos_order_line_image/static/description/icon.png new file mode 100644 index 000000000..495fa3db5 Binary files /dev/null and b/pos_order_line_image/static/description/icon.png differ diff --git a/pos_order_line_image/static/description/images/banner_lifeline_for_task.jpeg b/pos_order_line_image/static/description/images/banner_lifeline_for_task.jpeg new file mode 100644 index 000000000..4a467ea22 Binary files /dev/null and b/pos_order_line_image/static/description/images/banner_lifeline_for_task.jpeg differ diff --git a/pos_order_line_image/static/description/images/banner_project_report_xls_pdf.png b/pos_order_line_image/static/description/images/banner_project_report_xls_pdf.png new file mode 100644 index 000000000..3c430a7eb Binary files /dev/null and b/pos_order_line_image/static/description/images/banner_project_report_xls_pdf.png differ diff --git a/pos_order_line_image/static/description/images/banner_project_status_report.png b/pos_order_line_image/static/description/images/banner_project_status_report.png new file mode 100644 index 000000000..d1b689710 Binary files /dev/null and b/pos_order_line_image/static/description/images/banner_project_status_report.png differ diff --git a/pos_order_line_image/static/description/images/banner_subtask.jpeg b/pos_order_line_image/static/description/images/banner_subtask.jpeg new file mode 100644 index 000000000..f2b224110 Binary files /dev/null and b/pos_order_line_image/static/description/images/banner_subtask.jpeg differ diff --git a/pos_order_line_image/static/description/images/banner_task_deadline_reminder.jpeg b/pos_order_line_image/static/description/images/banner_task_deadline_reminder.jpeg new file mode 100644 index 000000000..998679818 Binary files /dev/null and b/pos_order_line_image/static/description/images/banner_task_deadline_reminder.jpeg differ diff --git a/pos_order_line_image/static/description/images/banner_task_statusbar.jpeg b/pos_order_line_image/static/description/images/banner_task_statusbar.jpeg new file mode 100644 index 000000000..2c57cbb7b Binary files /dev/null and b/pos_order_line_image/static/description/images/banner_task_statusbar.jpeg differ diff --git a/pos_order_line_image/static/description/images/checked.png b/pos_order_line_image/static/description/images/checked.png new file mode 100644 index 000000000..578cedb80 Binary files /dev/null and b/pos_order_line_image/static/description/images/checked.png differ diff --git a/pos_order_line_image/static/description/images/cybrosys.png b/pos_order_line_image/static/description/images/cybrosys.png new file mode 100644 index 000000000..d76b5bafb Binary files /dev/null and b/pos_order_line_image/static/description/images/cybrosys.png differ diff --git a/pos_order_line_image/static/description/images/orderline.png b/pos_order_line_image/static/description/images/orderline.png new file mode 100644 index 000000000..fd67a19b3 Binary files /dev/null and b/pos_order_line_image/static/description/images/orderline.png differ diff --git a/pos_order_line_image/static/description/images/pos orderline.png b/pos_order_line_image/static/description/images/pos orderline.png new file mode 100644 index 000000000..3ec45c91c Binary files /dev/null and b/pos_order_line_image/static/description/images/pos orderline.png differ diff --git a/pos_order_line_image/static/description/index.html b/pos_order_line_image/static/description/index.html new file mode 100644 index 000000000..c79db5fb7 --- /dev/null +++ b/pos_order_line_image/static/description/index.html @@ -0,0 +1,279 @@ +
cybrosys-logo
+
+
+
+

Pos Order Line Product Image

+

Helps to show product images in each order line.

+
+

Key Highlights

+
    +
  • Product image in pos order line.
  • + +
+
+ +
+
+ +
+
+
+
+ +
+
+ +

Overview

+
+

+ By default, odoo doesn't support showing product images in each line of the order list. This module Helps to show product images in each order line.

+
+
+ +

Pos Order Line Product Image

+
+
    +

    + Product image in pos order line. +

    +
+
+ +
+
+

Screenshots

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

Suggested Products

+
+ +
+
+

Our Service

+
+ +
+
+
+

Our Industries

+
+ +
+
+
+ +
+
+

Trading

+

Easily procure and sell your products.

+
+
+
+
+ +
+
+

Manufacturing

+

Plan, track and schedule your operations.

+
+
+
+
+ +
+
+

Restaurant

+

Run your bar or restaurant methodical.

+
+
+
+
+ +
+
+

POS

+

Easy configuring and convivial selling.

+
+
+
+
+ +
+
+

E-commerce & Website

+

Mobile friendly, awe-inspiring product pages.

+
+
+
+
+ +
+
+

Hotel Management

+

An all-inclusive hotel management application.

+
+
+
+
+ +
+
+

Education

+

A Collaborative platform for educational management.

+
+
+
+
+ +
+
+

Service Management

+

Keep track of services and invoice accordingly.

+
+
+
+
+
+ +
+
+
+

Need Any Help?

+
+

If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support.

+
+

Email us

+

odoo@cybrosys.com / info@cybrosys.com

+
+
+

Contact Us

+ www.cybrosys.com +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + +
+
+
+ \ No newline at end of file diff --git a/pos_order_line_image/static/src/css/order_line_image.css b/pos_order_line_image/static/src/css/order_line_image.css new file mode 100755 index 000000000..e7e337209 --- /dev/null +++ b/pos_order_line_image/static/src/css/order_line_image.css @@ -0,0 +1,15 @@ +.pos .order .orderline .pos_product_image{ + float:left; + margin:auto; +} +.pos .order { + padding-top: 0px !important; +} +.pos .order .orderline .product-name { + padding-top: 11px !important; +} +.pos .order .orderline .info-list { + color: #888; + margin-left: 10px; + padding-bottom: 19px; +} \ No newline at end of file diff --git a/pos_order_line_image/static/src/js/pos_order_line.js b/pos_order_line_image/static/src/js/pos_order_line.js new file mode 100755 index 000000000..39791e92d --- /dev/null +++ b/pos_order_line_image/static/src/js/pos_order_line.js @@ -0,0 +1,18 @@ +odoo.define('pos_order_line_image.pos_order_line', function(require) { +"use strict"; + +var models = require('point_of_sale.models'); + + + +models.Orderline = models.Orderline.extend({ + + get_product_image: function(){ + const product = this.product; + return `/web/image?model=product.product&field=image_128&id=${product.id}&write_date=${product.write_date}&unique=1`; + + }, + +}); + +}); diff --git a/pos_order_line_image/static/src/xml/pos_order_line.xml b/pos_order_line_image/static/src/xml/pos_order_line.xml new file mode 100755 index 000000000..3f061e5e1 --- /dev/null +++ b/pos_order_line_image/static/src/xml/pos_order_line.xml @@ -0,0 +1,11 @@ + + diff --git a/pos_order_line_image/views/pos_order_line_image.xml b/pos_order_line_image/views/pos_order_line_image.xml new file mode 100755 index 000000000..ebd691ed0 --- /dev/null +++ b/pos_order_line_image/views/pos_order_line_image.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/product_multi_uom_pos/views/pos_view_extended.xml b/product_multi_uom_pos/views/pos_view_extended.xml new file mode 100644 index 000000000..8e7f90284 --- /dev/null +++ b/product_multi_uom_pos/views/pos_view_extended.xml @@ -0,0 +1,16 @@ + + + + + + UOM for Order-line + pos.order + + + + + + + + + \ No newline at end of file