diff --git a/pos_order_line_image/README.rst b/pos_order_line_image/README.rst new file mode 100755 index 000000000..3efc63550 --- /dev/null +++ b/pos_order_line_image/README.rst @@ -0,0 +1,51 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Pos Order Line Product Image +============================ +This module adds product image in pos order lines. + +Configuration +============= +* No additional configuration required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +GNU Affero General Public License v3.0 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer: (V13) Nimisha Murali pc + (V14) Jibin James + (V15) Aswani pc + (V17) Busthana Shirin +Contact: 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 100644 index 000000000..ea93dd382 --- /dev/null +++ b/pos_order_line_image/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Busthana Shirin (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..438433f0d --- /dev/null +++ b/pos_order_line_image/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Busthana Shirin (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': '17.0.1.0.0', + 'category': 'Point of Sale', + 'summary': """Product image in pos order lines""", + 'description': "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.", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "http://www.cybrosys.com", + 'depends': ['point_of_sale'], + 'assets': { + 'point_of_sale._assets_pos': [ + 'pos_order_line_image/static/src/css/order_line_image.css', + 'pos_order_line_image/static/src/xml/pos_order_line.xml', + 'pos_order_line_image/static/src/js/pos_order_line.js' + ], + }, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': 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..a65d3e970 --- /dev/null +++ b/pos_order_line_image/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 01.12.2023 +#### Version 17.0.1.0.0 +##### ADD + +- Initial commit for Pos Order Line Product Image \ No newline at end of file diff --git a/pos_order_line_image/static/description/assets/icons/capture (1).png b/pos_order_line_image/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/capture (1).png differ diff --git a/pos_order_line_image/static/description/assets/icons/check.png b/pos_order_line_image/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/check.png differ diff --git a/pos_order_line_image/static/description/assets/icons/chevron.png b/pos_order_line_image/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/chevron.png differ diff --git a/pos_order_line_image/static/description/assets/icons/cogs.png b/pos_order_line_image/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/cogs.png differ diff --git a/pos_order_line_image/static/description/assets/icons/consultation.png b/pos_order_line_image/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/consultation.png differ diff --git a/pos_order_line_image/static/description/assets/icons/ecom-black.png b/pos_order_line_image/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/ecom-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/education-black.png b/pos_order_line_image/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/education-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/hotel-black.png b/pos_order_line_image/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/hotel-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/img.png b/pos_order_line_image/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/img.png differ diff --git a/pos_order_line_image/static/description/assets/icons/license.png b/pos_order_line_image/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/license.png differ diff --git a/pos_order_line_image/static/description/assets/icons/lifebuoy.png b/pos_order_line_image/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_order_line_image/static/description/assets/icons/manufacturing-black.png b/pos_order_line_image/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/photo-capture.png b/pos_order_line_image/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/photo-capture.png differ diff --git a/pos_order_line_image/static/description/assets/icons/pos-black.png b/pos_order_line_image/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/pos-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/puzzle.png b/pos_order_line_image/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/puzzle.png differ diff --git a/pos_order_line_image/static/description/assets/icons/restaurant-black.png b/pos_order_line_image/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/service-black.png b/pos_order_line_image/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/service-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/trading-black.png b/pos_order_line_image/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/trading-black.png differ diff --git a/pos_order_line_image/static/description/assets/icons/training.png b/pos_order_line_image/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/training.png differ diff --git a/pos_order_line_image/static/description/assets/icons/update.png b/pos_order_line_image/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/update.png differ diff --git a/pos_order_line_image/static/description/assets/icons/user.png b/pos_order_line_image/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/user.png differ diff --git a/pos_order_line_image/static/description/assets/icons/wrench.png b/pos_order_line_image/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_order_line_image/static/description/assets/icons/wrench.png differ diff --git a/pos_order_line_image/static/description/assets/misc/Cybrosys R.png b/pos_order_line_image/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pos_order_line_image/static/description/assets/misc/Cybrosys R.png differ diff --git a/pos_order_line_image/static/description/assets/misc/email.svg b/pos_order_line_image/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_line_image/static/description/assets/misc/phone.svg b/pos_order_line_image/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_order_line_image/static/description/assets/misc/star (1) 2.svg b/pos_order_line_image/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_order_line_image/static/description/assets/misc/support (1) 1.svg b/pos_order_line_image/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_order_line_image/static/description/assets/misc/support-email.svg b/pos_order_line_image/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pos_order_line_image/static/description/assets/misc/tick-mark.svg b/pos_order_line_image/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/pos_order_line_image/static/description/assets/misc/whatsapp 1.svg b/pos_order_line_image/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_order_line_image/static/description/assets/misc/whatsapp.svg b/pos_order_line_image/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/pos_order_line_image/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_order_line_image/static/description/assets/modules/1.gif b/pos_order_line_image/static/description/assets/modules/1.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/pos_order_line_image/static/description/assets/modules/1.gif differ diff --git a/pos_order_line_image/static/description/assets/modules/2.png b/pos_order_line_image/static/description/assets/modules/2.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/pos_order_line_image/static/description/assets/modules/2.png differ diff --git a/pos_order_line_image/static/description/assets/modules/3.png b/pos_order_line_image/static/description/assets/modules/3.png new file mode 100644 index 000000000..cb17cf612 Binary files /dev/null and b/pos_order_line_image/static/description/assets/modules/3.png differ diff --git a/pos_order_line_image/static/description/assets/modules/4.jpg b/pos_order_line_image/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/pos_order_line_image/static/description/assets/modules/4.jpg differ diff --git a/pos_order_line_image/static/description/assets/modules/5.jpg b/pos_order_line_image/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..5141a7802 Binary files /dev/null and b/pos_order_line_image/static/description/assets/modules/5.jpg differ diff --git a/pos_order_line_image/static/description/assets/modules/6.png b/pos_order_line_image/static/description/assets/modules/6.png new file mode 100644 index 000000000..0e311ca87 Binary files /dev/null and b/pos_order_line_image/static/description/assets/modules/6.png differ diff --git a/pos_order_line_image/static/description/assets/screenshots/1.png b/pos_order_line_image/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..dd63ecc1d Binary files /dev/null and b/pos_order_line_image/static/description/assets/screenshots/1.png differ diff --git a/pos_order_line_image/static/description/assets/screenshots/2.png b/pos_order_line_image/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..79858b82d Binary files /dev/null and b/pos_order_line_image/static/description/assets/screenshots/2.png differ diff --git a/pos_order_line_image/static/description/assets/screenshots/hero.gif b/pos_order_line_image/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..7c35fff8c Binary files /dev/null and b/pos_order_line_image/static/description/assets/screenshots/hero.gif differ diff --git a/pos_order_line_image/static/description/banner.jpg b/pos_order_line_image/static/description/banner.jpg new file mode 100644 index 000000000..eaf13fef5 Binary files /dev/null and b/pos_order_line_image/static/description/banner.jpg 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..0f97c71bc Binary files /dev/null and b/pos_order_line_image/static/description/icon.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..f8f6d3691 --- /dev/null +++ b/pos_order_line_image/static/description/index.html @@ -0,0 +1,621 @@ + + + + + + Pos Order Line Product Image + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Pos Order Line Product Image

+

+ This Module Helps You To Add Product Image In PoS Order Lines. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Product Image In The PoS Order Line.

+

+ User Can See Product Image In The PoS Order Line. +

+
+
+
+
+
+
+ +
+
+

+ Community, Enterprise and Odoo.sh.

+

The Time + Available in Odoo 17.0 Community, Enterprise and Odoo.sh. +

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

+ User Can See Product Image In The PoS Order Line.

+
+
+
+
+
+
+ +
+
+
+
+
+
+
    +
  • + User Can See the Selected Product Image in Pos Order Line. +
  • +
  • + Available in Odoo 16.0 Community ,Enterprise and Odoo.sh. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:1st December 2023 +
+

+ Initial Commit for Pos Order Line Product Image.

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Licensing Consultancy

+
+
+
+
+
+
+

+ Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

+ Education

+

A platform for educational management

+
+
+
+
+ +

+ Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & + Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service + Management

+

Keep track of services and invoice

+
+
+
+
+ +

+ Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel + Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

+ Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got + questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to + us on WhatsApp!

+
+91 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + 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..36f613a30 --- /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; +} 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 100644 index 000000000..003f8aa91 --- /dev/null +++ b/pos_order_line_image/static/src/js/pos_order_line.js @@ -0,0 +1,14 @@ +/** @odoo-module */ +import { Order, Orderline } from "@point_of_sale/app/store/models"; +import { patch } from "@web/core/utils/patch"; + +patch(Orderline.prototype, { + getDisplayData() { + /**Add the product id to update the image**/ + return { + ...super.getDisplayData(), + product_id: this.get_product().id, + + }; + } +}); 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..6f657f624 --- /dev/null +++ b/pos_order_line_image/static/src/xml/pos_order_line.xml @@ -0,0 +1,13 @@ + +