URL shortening is a well-known methodology to cope with too long and ugly looking web addresses. The app introduces this technique in Odoo by allowing website editors to manually or automatically generate, control, and administrate short URLs for any Odoo web links.
Branded links
Introduce memorable and human-readable URLs of the type '/s/[token]' for any Odoo website address. What is preferable to share: example.com/s/desk or example.com/shop/customizable-desk-config-9#attr=7,4,47?
Automatic or custom URLs
Configure the rules for automatic creation of short URLs based on iterator and token (for example, /s/12 and /s/rh72ko) or apply own key words (for example, /s/desk, /s/best-chairs).
Multi channels control
Have as many short links for a single address as it needed for various purposes. Share one in Facebook, another - in Twitter, and a special one - for specific partners. Then, count redirects for each source.
Comfortable administration
Use URL shortener right while customizing website or in Odoo advanced backend. Make a link soon expired or forever-lasting. Update token at any moment or archive a link if it is not any more valid.
Website snippet
The app introduces especial website snippet which might be added to any Odoo website inner content. Such snippet would find or create a short URL right when a visitor opens a page.
Available for scripts and custom add-ons
Developers might use the app to find or create a short URL for a target website address by applying a single Python method.
![Odoo URL shortener from website](/web/image/230511/short_urls_website_multi_links.png)
URL shortener administration
Website interface for short URLs
-
To start managing short links click on Customize > Short URLs from any page
-
The app would automatically retrieve a target web address with all search and hash parameters from a browser. Change this redirect URL if needed: available short links would be recalculated
-
Create new short links based on default token or custom key words. Archive obsolete URLs
-
Update existing addresses: change token, assign expiration date, apply to this website or to all sites (the app fully supports Odoo multi website mode)
-
Copy a short URL to clipboard in a single click.
Advanced backend links' editor
-
Find all short links by all websites under the menu Websites > Settings > Short URLs
-
Group by website or target URL (there might be multiple short links for each). Archive or restore links in batch
-
Create a new short URL in a few seconds: the only thing required is to introduce a target web address
-
Apply flexible settings: validity date to make a link auto expired, notes to always know why this URL has been introduced, website to restrict usage for a specific site or to use a link globally.
![URL shortener: website customziation](/web/image/230512/short_urls_website_customize.png)
![Odoo website customization: short links](/web/image/230510/short_urls_website_edit.png)
![short_url_backend_form.png](/web/image/230506/short_url_backend_form.png)
Automatic short URLs generation
-
It is not always possible to prepare a branded URL for each address. For example, when you have thousands of website pages. For such cases define a default automatic method
-
Use 'iterator' to generate a link with succeeding number at the end. For instance, 'example.com/s/112'. The app would automatically increment a number when a new short URL is registered
-
Use 'token' approach to generate a unique symbols' row of a predefined length (it should not be less than 5 symbols to have enough unique combinations). For instance, 'example.com/s/uo71jh'
-
A default short URL would be entered as soon as you decide to create a new redirection. Simultaneously, you can always change that to a custom sentence or create a new alternative short URL. Do that for the most important addresses, addresses you would like to print on your business cards, addresses which are assumed to entered manually, etc.
![Settings for short urls](/web/image/230509/short_url_conf.png)
![Odoo URL shortener tokens](/web/image/230504/short_url_auto_token.png)
![Incrementing number for short links](/web/image/230505/short_url_auto_iterator.png)
Short URLs for developers
Using short URLs in scripts
-
While developing a custom add-on, script, or server action you might be interested to have a short URL for certain website addresses. The tool let do that efficiently
-
To that end you should trigger the method 'action_find_surl' of the model 'short.url.redirect'
-
As arguments it should receive:
target_url
- string - full path of web address. E.g. "/shop/customizable-desk-config-9#attr=7,4,47)"tocreate
- boolean - whether to create a new short URL if none exists for target URLalwaysvalid
- boolean - whether to search short URLs without expiration or yet valid but soon expired links are also finewebsite_id
-integer - if False the app would search only global URLs, otherwise also of a specific website (applicable for mutli website mode) -
The method would return a string - a found short URL (e.g. '/s/desk') - or False if nothing is found.
-
For instance:
my_short_url = self.env["short.url.redirect"],action_find_surl("/shop/customizable-desk-config-9#attr=7,4,47", True, True, 1)
Website Snippet for auto short links
-
The website menu 'Customize' and the backend menu 'Short URLs' are available only for Odoo website designers. For certain pages you might be interested to show a short link for simple visitors as well
-
To that end you might drag and drop the special website editor snippet 'Short URLs'. Alternatively add an xml line the tag
a
with the href"#"
and the class"short_url_widget"
-
Each time a page with such snippet is opened, a short URL would be searched and - if not found - created. In such a way, you may show a visitor a valid short URL, which he/she might copy and share
-
Take into account: the snippet searches only for always valid global short URLs.
![URL shortener: website snippet](/web/image/230514/short_urls_website_snippet.png)
![Short link to share](/web/image/230513/short_urls_website_snippet_result.png)
Frequently Asked Questions about Website URL shortener Odoo v.13
According to the current Odoo Apps Store policies:
- every module bought for version 12.0 and prior gives you access to all versions up to 12.0.
- starting from version 13.0, every module version should be purchased separately.
- disregarding the version, purchasing a tool grants you a right to all updates and bug fixes within a major version.
Take into account that the faOtools team does not control those policies. For all questions, please contact the Odoo Apps Store representatives directly.
The easiest approach is to use the Odoo store built-in workflow:
1. Open the module's page and click the button Deploy on odoo.sh
2. After that, you will be redirected to the GitHub page. Login to your account and click 'Create a new repo' or use the existing one. Please, make sure, that your repository is private. It is not permitted to publish the apps under the OPL-1 license. If necessary, create a new repo for your Odoo.sh project
3. Then, go to odoo.sh and click on the deploy button, submit the decision in the pop-up window and click 'Continue'. The action will trigger the installation process.
These steps will install the app for your project production branch. If you want to deploy the apps for other branches or update the module, you should undertake the following actions:
1. Upload the source code for the app from the Odoo store
2. Commit the module to a required GitHub repository. Make sure that none of the app folders/files are ignored (included in the .gitignore of your repo). Repositories are automatically created by odoo.sh, which might add by default some crucial items there (e.g. /lib). You should upload all module directories, subdirectories, and files without exceptions
3. Deploy a target branch of the odoo.sh project or wait until it is automatically built if your settings assume that.
Unzip the source code of the purchased tools in one of your Odoo add-ons' directories;
Re-start the Odoo server;
Turn on the developer mode (technical settings);
Update the apps' list (the apps' menu);
Find the app and push the button 'Install';
Follow the guidelines on the app's page if those exist.
Yes, sure. Take into account that Odoo automatically adds all dependencies to a cart. You should exclude previously purchased tools.
A red/orange warning itself does not influence features of the app. Regretfully, sometimes our modules do not pass standard automatic tests, since the latter assumes behavior which is in conflict with our apps goals. For example, we change price calculation, while standard Odoo module tests compare final price to standard algorithm.
So, first of all, please check deployed database features. Does everything work correctly?
If you still assume that warning influences real features, please contact us and forward full installation logs and the full lists of deployed modules (including core and third party ones).
No, we distribute the tools only through the official Odoo apps store
Regretfully, we do not have a technical possibility to provide individual prices.
No, third party apps can not be used on Odoo Online.
Yes, all modules marked in dependencies are absolutely required for a correct work of our tool. Take into account that price marked on the app page already includes all necessary dependencies.
The price for our modules is set up in euros. The Odoo store converts prices in others currencies according to its internal exchange rate. Thus, the price in US Dollars may change, when exchange rate changes.
Bug reporting
In case you have faced any bugs or inconsistent behavior, do not hesitate to contact us. We guarantee to provide fixes within 60 days after the purchase, while even after this period we are strongly interested to improve our tools.
No phone number or credit card is required to contact us: only a short email sign up which does not take more than 30 seconds.
Please include in your request as many details as possible: screenshots, Odoo server logs, a full description of how to reproduce your problem, and so on. Usually, it takes a few business days to prepare a working plan for an issue (if a bug is confirmed) or provide you with guidelines on what should be done (otherwise).
Public features requests and module ideas (free development)
We are strongly motivated to improve our tools and would be grateful for any sort of feedback. In case your requirements are of public use and might be efficiently implemented, the team would include those in our to-do list.
Such a to-do list is processed on a regular basis and does not assume extra fees. Although we cannot promise deadlines and final design, it might be a good way to get desired features without investments and risks.
No phone number or credit card is required to contact us: only a short email sign up which does not take more than 30 seconds.
The technical core to synchronize your cloud storage solution with Odoo
245€The tool to automatically synchronize Odoo attachments with OneDrive files in both ways
394€The tool to automatically synchronize Odoo attachments with Google Drive files in both ways
394€The tool to automatically synchronize Odoo attachments with OwnCloud / NextCloud files in both ways
394€The tool to build deep and structured knowledge base for internal and external use. Knowledge System. KMS
298€The tool for time-based service management from booking appointment to sale and reviews
398€The tool to combine different Odoo events in a few configurable super calendars. Shared calendar. Common calendar.