diff --git a/portal_stock_check/README.rst b/portal_stock_check/README.rst deleted file mode 100755 index c53dcb210..000000000 --- a/portal_stock_check/README.rst +++ /dev/null @@ -1,41 +0,0 @@ -Portal Product Availability -=========================== -* Portal Product Availability - -Installation -============ - - www.odoo.com/documentation/16.0/setup/install.html - - Install our custom addon - -License -------- -General Public License, Version 3 (LGPL v3). -(https://www.odoo.com/documentation/user/13.0/legal/licenses/licenses.html) - -Company -------- -* 'Cybrosys Techno Solutions `__ - -Credits -------- -* Developer: -sruthi mk @ cybrosys - -Contacts --------- -* Mail Contact : odoo@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 -========== -This module is maintained by Cybrosys Technologies. - -For support and more information, please visit https://www.cybrosys.com - -Further information -=================== -HTML Description: ``__ - diff --git a/portal_stock_check/__init__.py b/portal_stock_check/__init__.py deleted file mode 100755 index 8bdd72834..000000000 --- a/portal_stock_check/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# - -from . import controller diff --git a/portal_stock_check/__manifest__.py b/portal_stock_check/__manifest__.py deleted file mode 100755 index cdb15682f..000000000 --- a/portal_stock_check/__manifest__.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# - -{ - 'name': "Portal Product Availability", - 'version': '16.0.1.0.0', - 'category': 'Sales', - 'summary': """Portal Product Availability""", - 'description': """Portal Users Can Check The Availability of Products""", - 'author': "Cybrosys Techno Solutions", - 'company': "Cybrosys Techno Solutions", - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'images': ['static/description/banner.png'], - 'license': 'LGPL-3', - 'depends': ['portal', 'sale_management', 'stock', 'contacts', - 'website_sale'], - - 'data': [ - 'views/portal_inherited.xml', - ], - - 'assets': { - 'web.assets_frontend': [ - 'portal_stock_check/static/src/js/search_products.js', - 'portal_stock_check/static/src/xml/product_list.xml' - ], - }, - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/portal_stock_check/controller/__init__.py b/portal_stock_check/controller/__init__.py deleted file mode 100755 index 63493d7bf..000000000 --- a/portal_stock_check/controller/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# - -from . import products diff --git a/portal_stock_check/controller/products.py b/portal_stock_check/controller/products.py deleted file mode 100755 index 00ea44526..000000000 --- a/portal_stock_check/controller/products.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Cybrosys Techno Solutions() -# -# You can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# (LGPL v3) along with this program. -# If not, see . -# -############################################################################# - - -from odoo import http, _ -from odoo.http import request -from odoo.addons.portal.controllers import portal - - -class CustomerPortal(portal.CustomerPortal): - - def _prepare_home_portal_values(self, counters): - values = super()._prepare_home_portal_values(counters) - """Set the count as None""" - - if 'p_count' in counters: - values['p_count'] = None - return values - - @http.route('/my/products', type='http', auth="user", website=True) - def portal_products(self, **kw): - """Adding stock check option in portal""" - return request.render("portal_stock_check.portal_product_availability") - - @http.route('/product/search', type='json', auth="user", website=True) - def search_product(self, **kw, ): - """To get corresponding products""" - product = kw.get('name') - if product: - res = request.env['product.product'].sudo().search_read( - [('name', 'ilike', product), ('is_published', '=', True)]) - return res - else: - return False diff --git a/portal_stock_check/doc/RELEASE_NOTES.md b/portal_stock_check/doc/RELEASE_NOTES.md deleted file mode 100755 index d51c0748d..000000000 --- a/portal_stock_check/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 04.04.2023 -#### Version 16.0.1.0.0 -#### ADD -- Initial Commit for portal_stock_check diff --git a/portal_stock_check/static/description/assets/icons/check.png b/portal_stock_check/static/description/assets/icons/check.png deleted file mode 100755 index c8e85f51d..000000000 Binary files a/portal_stock_check/static/description/assets/icons/check.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/chevron.png b/portal_stock_check/static/description/assets/icons/chevron.png deleted file mode 100755 index 2089293d6..000000000 Binary files a/portal_stock_check/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/cogs.png b/portal_stock_check/static/description/assets/icons/cogs.png deleted file mode 100755 index 95d0bad62..000000000 Binary files a/portal_stock_check/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/consultation.png b/portal_stock_check/static/description/assets/icons/consultation.png deleted file mode 100755 index 8319d4baa..000000000 Binary files a/portal_stock_check/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/ecom-black.png b/portal_stock_check/static/description/assets/icons/ecom-black.png deleted file mode 100755 index a9385ff13..000000000 Binary files a/portal_stock_check/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/education-black.png b/portal_stock_check/static/description/assets/icons/education-black.png deleted file mode 100755 index 3eb09b27b..000000000 Binary files a/portal_stock_check/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/hotel-black.png b/portal_stock_check/static/description/assets/icons/hotel-black.png deleted file mode 100755 index 130f613be..000000000 Binary files a/portal_stock_check/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/license.png b/portal_stock_check/static/description/assets/icons/license.png deleted file mode 100755 index a5869797e..000000000 Binary files a/portal_stock_check/static/description/assets/icons/license.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/lifebuoy.png b/portal_stock_check/static/description/assets/icons/lifebuoy.png deleted file mode 100755 index 658d56ccc..000000000 Binary files a/portal_stock_check/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/logo (1).png b/portal_stock_check/static/description/assets/icons/logo (1).png deleted file mode 100755 index 478462d3e..000000000 Binary files a/portal_stock_check/static/description/assets/icons/logo (1).png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/manufacturing-black.png b/portal_stock_check/static/description/assets/icons/manufacturing-black.png deleted file mode 100755 index 697eb0e9f..000000000 Binary files a/portal_stock_check/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/pos-black.png b/portal_stock_check/static/description/assets/icons/pos-black.png deleted file mode 100755 index 97c0f90c1..000000000 Binary files a/portal_stock_check/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/puzzle.png b/portal_stock_check/static/description/assets/icons/puzzle.png deleted file mode 100755 index 65cf854e7..000000000 Binary files a/portal_stock_check/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/restaurant-black.png b/portal_stock_check/static/description/assets/icons/restaurant-black.png deleted file mode 100755 index 4a35eb939..000000000 Binary files a/portal_stock_check/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/service-black.png b/portal_stock_check/static/description/assets/icons/service-black.png deleted file mode 100755 index 301ab51cb..000000000 Binary files a/portal_stock_check/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/trading-black.png b/portal_stock_check/static/description/assets/icons/trading-black.png deleted file mode 100755 index 9398ba2f1..000000000 Binary files a/portal_stock_check/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/training.png b/portal_stock_check/static/description/assets/icons/training.png deleted file mode 100755 index 884ca024d..000000000 Binary files a/portal_stock_check/static/description/assets/icons/training.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/update.png b/portal_stock_check/static/description/assets/icons/update.png deleted file mode 100755 index ecbc5a01a..000000000 Binary files a/portal_stock_check/static/description/assets/icons/update.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/user.png b/portal_stock_check/static/description/assets/icons/user.png deleted file mode 100755 index 6ffb23d9f..000000000 Binary files a/portal_stock_check/static/description/assets/icons/user.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/icons/wrench.png b/portal_stock_check/static/description/assets/icons/wrench.png deleted file mode 100755 index 6c04dea0f..000000000 Binary files a/portal_stock_check/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/1.png b/portal_stock_check/static/description/assets/modules/1.png deleted file mode 100755 index 3ad04ecfd..000000000 Binary files a/portal_stock_check/static/description/assets/modules/1.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/2.png b/portal_stock_check/static/description/assets/modules/2.png deleted file mode 100755 index 499b1a72f..000000000 Binary files a/portal_stock_check/static/description/assets/modules/2.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/3.png b/portal_stock_check/static/description/assets/modules/3.png deleted file mode 100755 index 5238bdeab..000000000 Binary files a/portal_stock_check/static/description/assets/modules/3.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/4.png b/portal_stock_check/static/description/assets/modules/4.png deleted file mode 100755 index 7f2815273..000000000 Binary files a/portal_stock_check/static/description/assets/modules/4.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/5.png b/portal_stock_check/static/description/assets/modules/5.png deleted file mode 100755 index cfb5be33c..000000000 Binary files a/portal_stock_check/static/description/assets/modules/5.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/6.png b/portal_stock_check/static/description/assets/modules/6.png deleted file mode 100755 index f01b10060..000000000 Binary files a/portal_stock_check/static/description/assets/modules/6.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/approval_image.png b/portal_stock_check/static/description/assets/modules/approval_image.png deleted file mode 100755 index 84fe94e80..000000000 Binary files a/portal_stock_check/static/description/assets/modules/approval_image.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/dynamic_image.png b/portal_stock_check/static/description/assets/modules/dynamic_image.png deleted file mode 100755 index f55c47e0f..000000000 Binary files a/portal_stock_check/static/description/assets/modules/dynamic_image.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/list_view_image.png b/portal_stock_check/static/description/assets/modules/list_view_image.png deleted file mode 100755 index 510d36ae9..000000000 Binary files a/portal_stock_check/static/description/assets/modules/list_view_image.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/multiple_ref_image.png b/portal_stock_check/static/description/assets/modules/multiple_ref_image.png deleted file mode 100755 index 3fe90e552..000000000 Binary files a/portal_stock_check/static/description/assets/modules/multiple_ref_image.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/print_image.png b/portal_stock_check/static/description/assets/modules/print_image.png deleted file mode 100755 index b470725a1..000000000 Binary files a/portal_stock_check/static/description/assets/modules/print_image.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/modules/product_return_image.png b/portal_stock_check/static/description/assets/modules/product_return_image.png deleted file mode 100755 index 3afc14722..000000000 Binary files a/portal_stock_check/static/description/assets/modules/product_return_image.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/screenshots/1.png b/portal_stock_check/static/description/assets/screenshots/1.png deleted file mode 100755 index a0a9aee5c..000000000 Binary files a/portal_stock_check/static/description/assets/screenshots/1.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/screenshots/2.png b/portal_stock_check/static/description/assets/screenshots/2.png deleted file mode 100755 index 74ff15e5a..000000000 Binary files a/portal_stock_check/static/description/assets/screenshots/2.png and /dev/null differ diff --git a/portal_stock_check/static/description/assets/screenshots/hero.gif b/portal_stock_check/static/description/assets/screenshots/hero.gif deleted file mode 100755 index 074b85eeb..000000000 Binary files a/portal_stock_check/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/portal_stock_check/static/description/banner.png b/portal_stock_check/static/description/banner.png deleted file mode 100644 index 683d40cc0..000000000 Binary files a/portal_stock_check/static/description/banner.png and /dev/null differ diff --git a/portal_stock_check/static/description/icon.png b/portal_stock_check/static/description/icon.png deleted file mode 100644 index e6fce1663..000000000 Binary files a/portal_stock_check/static/description/icon.png and /dev/null differ diff --git a/portal_stock_check/static/description/index.html b/portal_stock_check/static/description/index.html deleted file mode 100755 index 57d346e35..000000000 --- a/portal_stock_check/static/description/index.html +++ /dev/null @@ -1,549 +0,0 @@ -
-
-
-
- -
-
-
- Community -
-
- Enterprise -
-
-
-
-
- -
-
-
-

- Portal Product Availability

-

- Portal Users Can Check The Availability of Products -

- -
-
- - - - -
-
-

- Overview -

-
- -
-

- With the help of this App portal users can easily check the stock availability of products.

- -
-
- -
-
-

- Features -

-
- -
-
- -
-
-

- Product stock check

-

- Portal users can check the availability of products.

-
-
- - -
- -
-
-

- Screenshots -

-
- -
-

- Product availability check in Portal

- - -
- -
-

- Search Result

- - -
- - -
- - -
-
-

Suggested Products

-
- - -
-
- - - -
-
-
-

Our Services

-
-
- -
-
- -
-
- Odoo - Customization
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- Odoo - Support
-
- - -
-
- -
-
- Hire - Odoo - Developer
-
- -
-
- -
-
- Odoo - Integration
-
- -
-
- -
-
- Odoo - Migration
-
- - -
-
- -
-
- Odoo - Consultancy
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- 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

-
-
- -
-
- - - - - -
-
-
-

Need Help?

-
-
-
- - -
- -
- -
- -
- WhatsApp -
-
-
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
- - -
\ No newline at end of file diff --git a/portal_stock_check/static/src/js/search_products.js b/portal_stock_check/static/src/js/search_products.js deleted file mode 100755 index 48cab1f57..000000000 --- a/portal_stock_check/static/src/js/search_products.js +++ /dev/null @@ -1,32 +0,0 @@ -odoo.define('portal_Stock_check.portal_product_availability', function (require) { - 'use strict'; -var publicWidget = require('web.public.widget'); -var core = require('web.core'); -var core = require('web.core'); -var QWeb = core.qweb; -var ajax = require('web.ajax'); - - -publicWidget.registry.SearchBar = publicWidget.Widget.extend({ - selector: '.o_website_product_search', - - events: { - 'keyup .o_portal_product_input': '_product_search', - }, - init: function () { - this._super.apply(this, arguments); - }, - _product_search: function (ev) { - var product_name = $('#product_name_input').val(); - ajax.jsonRpc("/product/search", 'call', { - 'name' : product_name - }).then(function (result) { - if (result != 'false'){ - $('.product_results_table').html(QWeb.render('productSearch',{'result':result})); - } - }) - } - }) -}) - - diff --git a/portal_stock_check/static/src/xml/product_list.xml b/portal_stock_check/static/src/xml/product_list.xml deleted file mode 100755 index 889175853..000000000 --- a/portal_stock_check/static/src/xml/product_list.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - -
- - - - - - - - - - - - - - - -
ProductQuantity
- - - -
-
-
-
diff --git a/portal_stock_check/views/portal_inherited.xml b/portal_stock_check/views/portal_inherited.xml deleted file mode 100755 index 2945e13fe..000000000 --- a/portal_stock_check/views/portal_inherited.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - \ No newline at end of file