This module makes web.base.url
dynamic based on the incoming HTTP request.
Useful when you serve multiple domains on one Odoo instance (e.g. armlab.com
, mijn.bronsgroen.be
, odoo.bronsgroen.be
).
- Emails and portal links use the correct domain
- No more hardcoded redirection to the wrong host
- Lightweight and safe fallback behavior
Clone or copy the module to your Odoo addons folder:
git clone https://github.com/wooter/web_base_url_dynamic.git
Then:
- Restart Odoo
- Activate Developer Mode
- Update Apps List
- Search for and install Dynamic Web Base URL
- Odoo 17 (tested)
- Works with Odoo Community & Enterprise