diff --git a/geoip_website_redirect/README.rst b/geoip_website_redirect/README.rst index 60084c2e3..8558f8349 100644 --- a/geoip_website_redirect/README.rst +++ b/geoip_website_redirect/README.rst @@ -2,8 +2,8 @@ :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 -Website Language And Currency Based On GeoIP -============================================ +Website Geolocation Based Language and Currency +=============================================== ThisModule helps the user to view website and its contents in language of country from which the user login and also able to view the website shop's currency as that country's currency diff --git a/geoip_website_redirect/__manifest__.py b/geoip_website_redirect/__manifest__.py index 5eb228bae..42ee72e25 100644 --- a/geoip_website_redirect/__manifest__.py +++ b/geoip_website_redirect/__manifest__.py @@ -20,12 +20,12 @@ # ############################################################################### { - 'name': 'Website Language And Currency Based On GeoIP', + 'name': 'Website Geolocation Based Language and Currency', 'version': '15.0.1.0.0', 'category': 'eCommerce, Productivity', 'summary': """This module helps you to map currency and language based on Customer's IP address for Odoo 15""", - 'description': """Website Language And Currency Based On GeoIP Application + 'description': """Website Geolocation Based Language and Currency Application module helps the user to view website and its contents in the language of country from which the user login and also able to view the website shop's currency as that country's currency""", @@ -47,5 +47,4 @@ 'installable': True, 'auto_install': False, 'application': False, - } diff --git a/geoip_website_redirect/controllers/main.py b/geoip_website_redirect/controllers/main.py index 8b22a1f04..d8e29ff19 100644 --- a/geoip_website_redirect/controllers/main.py +++ b/geoip_website_redirect/controllers/main.py @@ -26,7 +26,7 @@ from odoo.addons.portal.controllers.web import Home from odoo.http import request -class GeoIP(Home): +class Geolocation(Home): """ controller for selecting login user's datas """ def get_location(self, ip_address): """ get location details of user using ip address""" @@ -36,7 +36,7 @@ class GeoIP(Home): @http.route() def web_login(self, redirect=None, **kw): """ on login access customer country information """ - result = super(GeoIP, self).web_login(redirect=redirect, **kw) + result = super(Geolocation, self).web_login(redirect=redirect, **kw) request.env.user.write({'ip_address': kw.get('user_ip')}) datas = self.get_location(kw.get('user_ip')) if datas: diff --git a/geoip_website_redirect/doc/RELEASE_NOTES.md b/geoip_website_redirect/doc/RELEASE_NOTES.md index 7e9684cbe..8f72defbd 100644 --- a/geoip_website_redirect/doc/RELEASE_NOTES.md +++ b/geoip_website_redirect/doc/RELEASE_NOTES.md @@ -4,4 +4,4 @@ #### Version 15.0.1.0.0 #### ADD -- Initial commit for Website Language And Currency Based On GeoIP +- Initial commit for Website Geolocation Based Language and Currency diff --git a/geoip_website_redirect/static/description/banner.png b/geoip_website_redirect/static/description/banner.png index 6060257d9..d5c72e83a 100644 Binary files a/geoip_website_redirect/static/description/banner.png and b/geoip_website_redirect/static/description/banner.png differ diff --git a/geoip_website_redirect/static/description/index.html b/geoip_website_redirect/static/description/index.html index 8a1cb213f..580e344bb 100644 --- a/geoip_website_redirect/static/description/index.html +++ b/geoip_website_redirect/static/description/index.html @@ -25,7 +25,7 @@

- Website Language And Currency Based On GeoIP

+ Website Geolocation Based Language and Currency

Module To Map Currency And Language Based On Customer's IP Address






@@ -111,7 +111,7 @@
- Website Language And Currency Based On GeoIP is an application which is + Website Geolocation Based Language and Currency is an application which is fetch the IP address of customer's device and allow them to see website in their native language and