diff --git a/user_weather_notification/README.rst b/user_weather_notification/README.rst deleted file mode 100644 index 511918b43..000000000 --- a/user_weather_notification/README.rst +++ /dev/null @@ -1,42 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - -User Weather Notification -========================= -Users can see Weather Notification by using openweathermap API - -Installation -============ -- www.odoo.com/documentation/15.0/setup/install.html -- Install our custom addon - -Company -------- -* `Cybrosys Techno Solutions `__ - -Credits -------- -Developer: muzammil @cybrosys, 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/user_weather_notification/__init__.py b/user_weather_notification/__init__.py deleted file mode 100755 index a19cca6a3..000000000 --- a/user_weather_notification/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Mohamed Muzammil VP(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 controllers -from . import models diff --git a/user_weather_notification/__manifest__.py b/user_weather_notification/__manifest__.py deleted file mode 100755 index aba081b5e..000000000 --- a/user_weather_notification/__manifest__.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Mohamed Muzammil VP(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': 'User Weather Notification', - 'version': '15.0.1.0.0', - 'summary': """Weather Notification in odoo'""", - 'description': """Users can see Weather Notification by using - openweathermap API'""", - 'category': 'Extra Tools', - 'depends': ['web', 'base', 'sale'], - 'author': "Cybrosys Techno Solutions", - 'website': "https://www.cybrosys.com", - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'data': ['views/res_users_views.xml'], - 'images': ['static/description/banner.jpg'], - 'assets': { - 'web.assets_backend': { - 'user_weather_notification/static/src/scss/weather.scss', - 'user_weather_notification/static/src/js/weather_notification.js', - }, - 'web.assets_qweb': { - 'user_weather_notification/static/src/xml/weather_notification_templates.xml', - }, - - }, - 'external_dependencies': { - 'python': ['geocoder'], - }, - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, - 'application': True, -} diff --git a/user_weather_notification/controllers/__init__.py b/user_weather_notification/controllers/__init__.py deleted file mode 100755 index d1b810d68..000000000 --- a/user_weather_notification/controllers/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Mohamed Muzammil VP(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 main diff --git a/user_weather_notification/controllers/main.py b/user_weather_notification/controllers/main.py deleted file mode 100644 index 169ddc33c..000000000 --- a/user_weather_notification/controllers/main.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Mohamed Muzammil VP(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 . -# -################################################################################ -import geocoder -import requests -from odoo import http -from odoo.http import request - - -class WeatherNotification(http.Controller): - """controller for fetching weather data""" - - @http.route('/weather/notification/check', type='json', auth="public", - methods=['POST']) - def weather_notification(self): - """method for fetching weather data""" - if request.env.user.location_set == 'auto' and \ - request.env.user.api_key: - g_coder = geocoder.ip('me') - if g_coder.status_code == 200: - lat = round(g_coder.latlng[0], 2) - lng = round(g_coder.latlng[1], 2) - url = 'https://api.openweathermap.org/data/2.5/weather?lat=%s&lon=%s&appid=%s' % ( - lat, lng, request.env.user.api_key) - weather = requests.get(url) - if weather.status_code == 200: - weather_data = weather.json() - return weather_data - else: - weather_data = {'data': False} - return weather_data - elif request.env.user.location_set == 'manual' and \ - request.env.user.api_key: - url = 'https://api.openweathermap.org/data/2.5/weather?q=%s&appid=%s' % ( - request.env.user.city, request.env.user.api_key) - city_req = requests.get(url) - if city_req.status_code == 200: - weather_data = city_req.json() - return weather_data - else: - weather_data = {'data': False} - return weather_data - else: - weather_data = {'data': False} - return weather_data diff --git a/user_weather_notification/doc/RELEASE_NOTES.md b/user_weather_notification/doc/RELEASE_NOTES.md deleted file mode 100644 index c3046f0d2..000000000 --- a/user_weather_notification/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,6 +0,0 @@ -## Module - -#### 11.04.2023 -#### Version 15.0.1.0.0 -#### ADD -- Initial commit for User Weather Notification diff --git a/user_weather_notification/models/__init__.py b/user_weather_notification/models/__init__.py deleted file mode 100644 index 41641d1df..000000000 --- a/user_weather_notification/models/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Mohamed Muzammil VP(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 res_users diff --git a/user_weather_notification/models/res_users.py b/user_weather_notification/models/res_users.py deleted file mode 100644 index a35fe475e..000000000 --- a/user_weather_notification/models/res_users.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -################################################################################ -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies(). -# Author: Mohamed Muzammil VP(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 . -# -################################################################################ -import requests -from odoo import api, fields, models, _ -from odoo.exceptions import ValidationError - - -class ResUsers(models.Model): - """inherit the res.users model to add custom fields and methods""" - _inherit = "res.users" - - api_key = fields.Char(string='API Key', help="API key from OpenWeatherMap") - location_set = fields.Selection(selection=[ - ('auto', 'Use Browser Location'), - ('manual', 'Manual Location'), - ], string="Set Location", default='auto', - help="Use Browser Location:Fetching data based on browsers location," - "Manual Location:Need to specify the city in the city field ") - city = fields.Char(string='City') - - @api.constrains('city') - def _check_city(self): - """Constraints to check city is valid or not""" - for rec in self: - if rec.api_key: - url = 'https://api.openweathermap.org/data/2.5/weather?q=%s&appid=%s' \ - % (rec.city, rec.api_key) - city_check = requests.get(url).json() - if city_check['cod'] != 200: - raise ValidationError(_(city_check['message'])) diff --git a/user_weather_notification/static/description/assets/icons/check.png b/user_weather_notification/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/user_weather_notification/static/description/assets/icons/check.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/chevron.png b/user_weather_notification/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/user_weather_notification/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/cogs.png b/user_weather_notification/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/user_weather_notification/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/consultation.png b/user_weather_notification/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/user_weather_notification/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/ecom-black.png b/user_weather_notification/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/user_weather_notification/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/education-black.png b/user_weather_notification/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/user_weather_notification/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/hotel-black.png b/user_weather_notification/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/user_weather_notification/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/insta_feed_snippet_icon.png b/user_weather_notification/static/description/assets/icons/insta_feed_snippet_icon.png deleted file mode 100644 index 9af668a31..000000000 Binary files a/user_weather_notification/static/description/assets/icons/insta_feed_snippet_icon.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/license.png b/user_weather_notification/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/user_weather_notification/static/description/assets/icons/license.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/lifebuoy.png b/user_weather_notification/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/user_weather_notification/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/logo.png b/user_weather_notification/static/description/assets/icons/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/user_weather_notification/static/description/assets/icons/logo.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/manufacturing-black.png b/user_weather_notification/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/user_weather_notification/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/pos-black.png b/user_weather_notification/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/user_weather_notification/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/puzzle.png b/user_weather_notification/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/user_weather_notification/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/restaurant-black.png b/user_weather_notification/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/user_weather_notification/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/service-black.png b/user_weather_notification/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/user_weather_notification/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/trading-black.png b/user_weather_notification/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/user_weather_notification/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/training.png b/user_weather_notification/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/user_weather_notification/static/description/assets/icons/training.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/update.png b/user_weather_notification/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/user_weather_notification/static/description/assets/icons/update.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/user.png b/user_weather_notification/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/user_weather_notification/static/description/assets/icons/user.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/icons/wrench.png b/user_weather_notification/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/user_weather_notification/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/categories.png b/user_weather_notification/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/user_weather_notification/static/description/assets/misc/categories.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/check-box.png b/user_weather_notification/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/user_weather_notification/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/compass.png b/user_weather_notification/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/user_weather_notification/static/description/assets/misc/compass.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/corporate.png b/user_weather_notification/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/user_weather_notification/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/customer-support.png b/user_weather_notification/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/user_weather_notification/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/cybrosys-logo.png b/user_weather_notification/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/user_weather_notification/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/features.png b/user_weather_notification/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/user_weather_notification/static/description/assets/misc/features.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/logo.png b/user_weather_notification/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/user_weather_notification/static/description/assets/misc/logo.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/pictures.png b/user_weather_notification/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/user_weather_notification/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/pie-chart.png b/user_weather_notification/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/user_weather_notification/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/right-arrow.png b/user_weather_notification/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/user_weather_notification/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/star.png b/user_weather_notification/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/user_weather_notification/static/description/assets/misc/star.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/support.png b/user_weather_notification/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/user_weather_notification/static/description/assets/misc/support.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/misc/whatsapp.png b/user_weather_notification/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/user_weather_notification/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/modules/1.png b/user_weather_notification/static/description/assets/modules/1.png deleted file mode 100644 index 5238bdeab..000000000 Binary files a/user_weather_notification/static/description/assets/modules/1.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/modules/2.png b/user_weather_notification/static/description/assets/modules/2.png deleted file mode 100644 index 1ae7cfe3b..000000000 Binary files a/user_weather_notification/static/description/assets/modules/2.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/modules/3.png b/user_weather_notification/static/description/assets/modules/3.png deleted file mode 100644 index 3c3ff1afb..000000000 Binary files a/user_weather_notification/static/description/assets/modules/3.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/modules/4.png b/user_weather_notification/static/description/assets/modules/4.png deleted file mode 100644 index 3fae4631e..000000000 Binary files a/user_weather_notification/static/description/assets/modules/4.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/modules/5.gif b/user_weather_notification/static/description/assets/modules/5.gif deleted file mode 100644 index 2a5f8e659..000000000 Binary files a/user_weather_notification/static/description/assets/modules/5.gif and /dev/null differ diff --git a/user_weather_notification/static/description/assets/modules/6.png b/user_weather_notification/static/description/assets/modules/6.png deleted file mode 100644 index 7f2815273..000000000 Binary files a/user_weather_notification/static/description/assets/modules/6.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/screenshots/hero.gif b/user_weather_notification/static/description/assets/screenshots/hero.gif deleted file mode 100644 index c9ff91b12..000000000 Binary files a/user_weather_notification/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/user_weather_notification/static/description/assets/screenshots/screen_2.png b/user_weather_notification/static/description/assets/screenshots/screen_2.png deleted file mode 100644 index d7f37465f..000000000 Binary files a/user_weather_notification/static/description/assets/screenshots/screen_2.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/screenshots/screen_3.png b/user_weather_notification/static/description/assets/screenshots/screen_3.png deleted file mode 100644 index 6c114611a..000000000 Binary files a/user_weather_notification/static/description/assets/screenshots/screen_3.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/screenshots/screen_4.png b/user_weather_notification/static/description/assets/screenshots/screen_4.png deleted file mode 100644 index 68888e2ec..000000000 Binary files a/user_weather_notification/static/description/assets/screenshots/screen_4.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/screenshots/screen_5.png b/user_weather_notification/static/description/assets/screenshots/screen_5.png deleted file mode 100644 index 8b7951ccd..000000000 Binary files a/user_weather_notification/static/description/assets/screenshots/screen_5.png and /dev/null differ diff --git a/user_weather_notification/static/description/assets/screenshots/screen_6.png b/user_weather_notification/static/description/assets/screenshots/screen_6.png deleted file mode 100644 index 87911db7b..000000000 Binary files a/user_weather_notification/static/description/assets/screenshots/screen_6.png and /dev/null differ diff --git a/user_weather_notification/static/description/banner.jpg b/user_weather_notification/static/description/banner.jpg deleted file mode 100644 index 83124c0a9..000000000 Binary files a/user_weather_notification/static/description/banner.jpg and /dev/null differ diff --git a/user_weather_notification/static/description/icon.png b/user_weather_notification/static/description/icon.png deleted file mode 100644 index 5533f9686..000000000 Binary files a/user_weather_notification/static/description/icon.png and /dev/null differ diff --git a/user_weather_notification/static/description/index.html b/user_weather_notification/static/description/index.html deleted file mode 100644 index 27f702d65..000000000 --- a/user_weather_notification/static/description/index.html +++ /dev/null @@ -1,546 +0,0 @@ -
- -
- -
-
- Community -
-
- Enterprise -
-
- Odoo.sh -
-
-
- -
-
-
- -

- User Weather Notification

-

A Module For User Weather Notification

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

Explore This - Module

-
- - - - -
-
- -
-

Overview -

-
-
-
- As we know, many industries are depending on weather conditions - like manufacturing, Event Management, - Construction etc. So we believe our concept of weather module - can be used in these industries to - understand and plan their works according to the weather - condition. This module is a starter to think - and explore the opportunity to bring the advanced features in - Odoo. -
-
- - - -
-
- -
-

Features -

-
-
-
-
- - Support in Desktop. -
-
-
-
- - The user will get the weather notification -
-
-
- - - -
-
- -
-

Screenshots -

-
-
-
- -
-

User can easily find the weather report from a single click. - Summary of the weather conditions is - displayed on the weather board. The user will easily get - weather updates, state of climate and current - temperature etc. -

- -
- -
-

User must provide api key for openweathermap and select auto - location or manual location

- -

For manual location user must enter a valid city of - openweathermap api

- -
-
- -
-
-

Required openweathermap API.

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

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

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

Support -

-
-
-
-
-
-
- -
-
-

Need Help?

-

Got questions or need help? Get in touch.

- -

- odoo@cybrosys.com

-
-
-
-
-
-
-
- -
-
-

WhatsApp

-

Say hi to us on WhatsApp!

- -

+91 86068 - 27707

-
-
-
-
-
-
-
- -
-
-
- \ No newline at end of file diff --git a/user_weather_notification/static/src/js/weather_notification.js b/user_weather_notification/static/src/js/weather_notification.js deleted file mode 100644 index 0c316e796..000000000 --- a/user_weather_notification/static/src/js/weather_notification.js +++ /dev/null @@ -1,45 +0,0 @@ -odoo.define('weather_systray.weather', function(require) { - "use strict"; - var core = require('web.core'); - var QWeb = core.qweb; - var SystrayMenu = require('web.SystrayMenu'); - var Widget = require('web.Widget'); - var rpc = require('web.rpc'); -/*Extending widget and adding the template*/ - var WeatherMenu = Widget.extend({ - template: 'user_weather_notification.UserMenuS', - events: { - 'click #create_so': 'onclick_myicon', - }, - /*when it start card is hidden*/ - start: function() { - var self = this - self.$('.card').hide(); - }, - /*toggle the card hide or visible*/ - onclick_myicon: async function() { - if (self.$(".card").is(":visible")) { - self.$('.card').hide(); - } - else { - self.$('.card').show(); - /*take the data from the controller and shows*/ - rpc.query({ - route: "/weather/notification/check", - }).then(function(result) { - if (result.data == false){ - self.$("#description").text('Configure Settings') - }else{ - self.$("#title").text(result.name); - self.$("#main").text(result.weather[0].main); - var temp = Math.floor(result.main.temp - 273); - self.$("#temp").text(temp + "°C"); - self.$("#description").text(result.weather[0].description); - } - }) - } - } - }); - SystrayMenu.Items.push(WeatherMenu); - return WeatherMenu; -}); diff --git a/user_weather_notification/static/src/scss/weather.scss b/user_weather_notification/static/src/scss/weather.scss deleted file mode 100644 index 42d46456f..000000000 --- a/user_weather_notification/static/src/scss/weather.scss +++ /dev/null @@ -1,11 +0,0 @@ -.card { - display:block; - position:absolute; - top: 40px; - width: 250px; - right:100px; -} -.img{ - width: 250px; -} - diff --git a/user_weather_notification/static/src/weather_card.jpg b/user_weather_notification/static/src/weather_card.jpg deleted file mode 100644 index cc5cda90c..000000000 Binary files a/user_weather_notification/static/src/weather_card.jpg and /dev/null differ diff --git a/user_weather_notification/static/src/xml/weather_notification_templates.xml b/user_weather_notification/static/src/xml/weather_notification_templates.xml deleted file mode 100644 index e46780d22..000000000 --- a/user_weather_notification/static/src/xml/weather_notification_templates.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - -
- -
-
- - -
  • - -
  • -
    -
    diff --git a/user_weather_notification/views/res_users_views.xml b/user_weather_notification/views/res_users_views.xml deleted file mode 100644 index a2c994294..000000000 --- a/user_weather_notification/views/res_users_views.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - res.users.form.inherit.user.weather.notification - res.users - form - - - - - - - - - - - - - -