diff --git a/website_comment/README.rst b/website_comment/README.rst deleted file mode 100644 index 18c42b275..000000000 --- a/website_comment/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -Website Order Comment -===================== -Customer comment on website and it's related sale order - -Configuration -============= -* No additional configurations needed - -Company -------- -* `Cybrosys Techno Solutions `__ - -Credits -------- -* Developer: Renoj Remeshan @ 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/website_comment/__init__.py b/website_comment/__init__.py deleted file mode 100755 index 8798457ca..000000000 --- a/website_comment/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2022-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 -from . import controllers diff --git a/website_comment/__manifest__.py b/website_comment/__manifest__.py deleted file mode 100755 index d3bf1c5ac..000000000 --- a/website_comment/__manifest__.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- - -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2022-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 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": "Website Order Comment", - "version": "15.0.1.0.0", - "category": "Website", - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - "description": "Order Comment In Website and Related Sale Order", - "summary": "Order Comment In Website and Related Sale Order", - "depends": ['website_sale'], - "data": [ - 'views/comment_tab.xml', - 'views/website_payment_extension.xml', - ], - 'assets': { - 'web.assets_frontend': [ - 'website_comment/static/src/js/customer_comment.js' - ], - }, - 'images': ['static/description/banner.png'], - 'installable': True, - 'auto_install': False, - 'license': 'LGPL-3', - 'application': False, - -} diff --git a/website_comment/controllers/__init__.py b/website_comment/controllers/__init__.py deleted file mode 100755 index 681cbaebe..000000000 --- a/website_comment/controllers/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of AppJetty. See LICENSE file for full copyright and licensing details. - -from . import main diff --git a/website_comment/controllers/main.py b/website_comment/controllers/main.py deleted file mode 100755 index d938a79fd..000000000 --- a/website_comment/controllers/main.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2021-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 http -from odoo.http import request -from odoo.addons.website_sale.controllers.main import WebsiteSale - - -class WebsiteComment(WebsiteSale): - - """Add Customer comment functions to the website_sale controller.""" - @http.route(['/shop/customer_comment'], type='json', auth="public", methods=['POST'], website=True) - def customer_comment(self, **data): - """ Json method that used to add a - comment when the user clicks on 'pay now' button. - """ - if data.get('comment'): - order = request.website.sale_get_order() - redirect = self.checkout_redirection(order) - if redirect: - return redirect - - if order and order.id: - order.write({'comment': data.get('comment')}) - - return True diff --git a/website_comment/doc/RELEASE_NOTES.md b/website_comment/doc/RELEASE_NOTES.md deleted file mode 100644 index c7464c6c0..000000000 --- a/website_comment/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,8 +0,0 @@ -## Module - -#### 01.07.2022 -#### Version 15.0.1.0.0 -#### ADD -- Initial commit for Odoo 15 Customer order comment on website and sale order - - diff --git a/website_comment/models/__init__.py b/website_comment/models/__init__.py deleted file mode 100755 index 25155da9e..000000000 --- a/website_comment/models/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- - -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2022-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 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 . -# -############################################################################## - -from . import sale_order diff --git a/website_comment/models/sale_order.py b/website_comment/models/sale_order.py deleted file mode 100644 index 2aa128417..000000000 --- a/website_comment/models/sale_order.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- - -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2022-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 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 . -# -############################################################################## - -from odoo import api, fields, models - - -class SaleOrder(models.Model): - """Adds the fields for options of the customer order comment""" - - _inherit = "sale.order" - - comment = fields.Text('Customer Comment', - default=" ") diff --git a/website_comment/static/description/assets/icons/check.png b/website_comment/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/website_comment/static/description/assets/icons/check.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/chevron.png b/website_comment/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/website_comment/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/cogs.png b/website_comment/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/website_comment/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/consultation.png b/website_comment/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/website_comment/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/ecom-black.png b/website_comment/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/website_comment/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/education-black.png b/website_comment/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/website_comment/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/hotel-black.png b/website_comment/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/website_comment/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/license.png b/website_comment/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/website_comment/static/description/assets/icons/license.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/lifebuoy.png b/website_comment/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/website_comment/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/logo.png b/website_comment/static/description/assets/icons/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/website_comment/static/description/assets/icons/logo.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/manufacturing-black.png b/website_comment/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/website_comment/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/pos-black.png b/website_comment/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/website_comment/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/puzzle.png b/website_comment/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/website_comment/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/restaurant-black.png b/website_comment/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/website_comment/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/service-black.png b/website_comment/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/website_comment/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/trading-black.png b/website_comment/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/website_comment/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/training.png b/website_comment/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/website_comment/static/description/assets/icons/training.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/update.png b/website_comment/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/website_comment/static/description/assets/icons/update.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/user.png b/website_comment/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/website_comment/static/description/assets/icons/user.png and /dev/null differ diff --git a/website_comment/static/description/assets/icons/wrench.png b/website_comment/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/website_comment/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/website_comment/static/description/assets/modules/budget_image.png b/website_comment/static/description/assets/modules/budget_image.png deleted file mode 100644 index b50130c7d..000000000 Binary files a/website_comment/static/description/assets/modules/budget_image.png and /dev/null differ diff --git a/website_comment/static/description/assets/modules/credit_image.png b/website_comment/static/description/assets/modules/credit_image.png deleted file mode 100644 index 3ad04ecfd..000000000 Binary files a/website_comment/static/description/assets/modules/credit_image.png and /dev/null differ diff --git a/website_comment/static/description/assets/modules/employee_image.png b/website_comment/static/description/assets/modules/employee_image.png deleted file mode 100644 index 30ad58232..000000000 Binary files a/website_comment/static/description/assets/modules/employee_image.png and /dev/null differ diff --git a/website_comment/static/description/assets/modules/export_image.png b/website_comment/static/description/assets/modules/export_image.png deleted file mode 100644 index 492980ad0..000000000 Binary files a/website_comment/static/description/assets/modules/export_image.png and /dev/null differ diff --git a/website_comment/static/description/assets/modules/gantt_image.png b/website_comment/static/description/assets/modules/gantt_image.png deleted file mode 100644 index 1ae7cfe3b..000000000 Binary files a/website_comment/static/description/assets/modules/gantt_image.png and /dev/null differ diff --git a/website_comment/static/description/assets/modules/quotation_image.png b/website_comment/static/description/assets/modules/quotation_image.png deleted file mode 100644 index 499b1a72f..000000000 Binary files a/website_comment/static/description/assets/modules/quotation_image.png and /dev/null differ diff --git a/website_comment/static/description/assets/screenshots/adding_notes.png b/website_comment/static/description/assets/screenshots/adding_notes.png deleted file mode 100644 index 4656c25d5..000000000 Binary files a/website_comment/static/description/assets/screenshots/adding_notes.png and /dev/null differ diff --git a/website_comment/static/description/assets/screenshots/comment.png b/website_comment/static/description/assets/screenshots/comment.png deleted file mode 100644 index 46bf70ae8..000000000 Binary files a/website_comment/static/description/assets/screenshots/comment.png and /dev/null differ diff --git a/website_comment/static/description/assets/screenshots/config.png b/website_comment/static/description/assets/screenshots/config.png deleted file mode 100644 index d4e58e17f..000000000 Binary files a/website_comment/static/description/assets/screenshots/config.png and /dev/null differ diff --git a/website_comment/static/description/assets/screenshots/hero.gif b/website_comment/static/description/assets/screenshots/hero.gif deleted file mode 100644 index 1d86367b5..000000000 Binary files a/website_comment/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/website_comment/static/description/assets/screenshots/notes.png b/website_comment/static/description/assets/screenshots/notes.png deleted file mode 100644 index ba4d1c42a..000000000 Binary files a/website_comment/static/description/assets/screenshots/notes.png and /dev/null differ diff --git a/website_comment/static/description/assets/screenshots/sale_order_tab.png b/website_comment/static/description/assets/screenshots/sale_order_tab.png deleted file mode 100644 index 8f02077a1..000000000 Binary files a/website_comment/static/description/assets/screenshots/sale_order_tab.png and /dev/null differ diff --git a/website_comment/static/description/banner.png b/website_comment/static/description/banner.png deleted file mode 100644 index 2595015cb..000000000 Binary files a/website_comment/static/description/banner.png and /dev/null differ diff --git a/website_comment/static/description/icon.png b/website_comment/static/description/icon.png deleted file mode 100644 index 550d37b22..000000000 Binary files a/website_comment/static/description/icon.png and /dev/null differ diff --git a/website_comment/static/description/index.html b/website_comment/static/description/index.html deleted file mode 100644 index 24258a9bb..000000000 --- a/website_comment/static/description/index.html +++ /dev/null @@ -1,571 +0,0 @@ -
-
-
-
- -
-
-
- Community -
-
- Enterprise -
- -
-
-
-
- -
-
-
-

- Website Order Comment

-

- Order Comment In Website and Related Sale Order -

- -
-
- - - -
-
-

- Overview -

-
- -
-

- Using the Customer Order Comment app, We can add customer comments to website and sales orders. - Notes/Comments added during checkout on website by customer will also show up on the related sales order. - We can also use the customize menu of website to enable or disable this feature.

-
-

- -
- - -
-
-

- Features -

-
- -
-
- -
-
-

- Add comments to checkout form

-
-
- -
-
- -
-
-

- View it in related sales order

-
-
- - - -
-
-

- Screenshots -

-
-
-

- Customer Comment Section in Website Checkout Form

-

- Customer can add personalized comments/notes for their order

- -
- -
-

- Enable/Disable Comment Section from the Customize Menu

-

- We can choose to enable/disable this option from the customize menu

- -
- -
-

- Customer Comments tab in Sale Orders

- -
- - -
-

- Adding Notes

- -
- - -
-

- Notes show up on related Sales order

- -
- - - -
-
-

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?

-
-
-
- - -
- -
- - -
- -
- -
- -
-
- -
- -
- -
-
- -
-
-
- - -
\ No newline at end of file diff --git a/website_comment/static/src/js/customer_comment.js b/website_comment/static/src/js/customer_comment.js deleted file mode 100644 index ce0a10f38..000000000 --- a/website_comment/static/src/js/customer_comment.js +++ /dev/null @@ -1,26 +0,0 @@ -odoo.define('website_comment.payment_extension', function(require) { - "use strict"; - - var ajax = require('web.ajax'); - - var publicWidget = require('web.public.widget'); - - const paymentFormMixin = require('payment.payment_form_mixin'); - - - publicWidget.registry.Paymentclick = publicWidget.Widget.extend({ - selector: 'form[name="o_payment_checkout"]', - events: { - 'click button[name="o_payment_submit_button"]': '_onClickPay', - }, - - _onClickPay: function(ev) { - var comment = $('#comment').val(); - ajax.jsonRpc('/shop/customer_comment/', 'call', { - 'comment': comment - }) - } - }); - - return publicWidget.registry.Paymentclick; - }); \ No newline at end of file diff --git a/website_comment/views/comment_tab.xml b/website_comment/views/comment_tab.xml deleted file mode 100644 index b73c60050..000000000 --- a/website_comment/views/comment_tab.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - sale.order.form - sale.order - - - - - - - - - - - - diff --git a/website_comment/views/website_payment_extension.xml b/website_comment/views/website_payment_extension.xml deleted file mode 100644 index 474ff65c4..000000000 --- a/website_comment/views/website_payment_extension.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - -