Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 211 |
Technical Name |
mjb_internal_external_domains |
License | OPL-1 |
Website | https://majorbird.cn/ |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 211 |
Technical Name |
mjb_internal_external_domains |
License | OPL-1 |
Website | https://majorbird.cn/ |
Domain restriction for internal & public users
Allows to restrict logins for internal users on an internal domain name, and for public/portal users on an external domain name.
This module allows you to forbid external users to login on Odoo when using an internal domain name, example: internal.mycompany.com
This modules allows you to forbid internal users to login on Odoo when using an external domain name, example: external.mycompany.com
This module allows you to only allow shared links to be visible for external users on the external domain (unique links for example like the web preview of a quotation on website)
Also, this module will automatically update all "internal domain" links in emails sent to external partners into "external domain links".
This means that your customers will only receive the external domain links.
Internal notifications for users will still use the internal domain link.
Important note: this module assumes that you have 2 domain names pointing to Odoo.
Works on community and enterprise versions.
How to use
- Upload the module to your server.
- Activate the module
- Activate the developper mode
- Go to Settings > Technical > Parameters > System Parameters
- Modify the value of parameter mjb_portal_share.external_domain to your external domain: example external.domain.com
- Modify the value of parameter mjb_portal_share.internal_domain to your internal domain: example internal.domain.com
- That's it !
Examples you can do to test:
- on a quotation, try to send it by email to a contact: the email sent will have links which points to the external domain
- on a contact, try to grant access to the customer portal: the email sent will have links which points to the external domain
- Now, try to open these external links while NOT being logged into odoo: both of them should work
- Try to login into odoo from the external link, using a user account: you will be blocked
- Try to login into odoo from the external link, using a portal account: you will be able to access the portal
- Try to login into odoo from the internal link, using a user account: you will be able to access odoo backend
- Try to login into odoo from the internal link, using a portal account: you will be blocked
Help & Support
Please send your feedbacks for quick support at the links below.
About Majorbird
Majorbird is an ERP and CRM integrator specialized in System. We provide services in Germany and Asia. We aim to
provide cost efficient tailored solutions for SMEs.
We are an official odoo partner: See our page here
Our target is to bring enterprise grade business software and training, which is made possible by System and our experience. We are a young company with highly qualified consultants, developers and software architects who worked on such systems for the last 8 years either on operations side or as consultants in other integrators. We are currently growing our customer base aggressively.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module