v 14.0 Third Party 2
Live Preview
Required Apps Website (website)
Lines of code 995
Technical Name short_urls
LicenseSee License tab
Websitehttps://faotools.com/apps/14.0/website-url-shortener-561
Also available in version v 12.0 v 13.0
You bought this module and need support? Click here!
Required Apps Website (website)
Lines of code 995
Technical Name short_urls
LicenseSee License tab
Websitehttps://faotools.com/apps/14.0/website-url-shortener-561
Also available in version v 12.0 v 13.0

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.

Documentation: https://faotools.com/docs/1/website-url-shortener-29

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

URL shortener administration

To manage short URLs a user should belong to the group 'Website Editor'. Short link website snippet, however, would be available for any visitor.

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
Odoo website customization: short links
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
Odoo URL shortener tokens
Incrementing number for short links

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 - relative web path. 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 URL
    alwaysvalid - boolean - whether to search short URLs without expiration or yet valid but soon expired links are also fine
    website_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
Short link to share

According to the current Odoo Apps Store policies:

  • every module bought for the version 12.0 and prior gives you an access to the all versions up to 12.0.
  • starting from the version 13.0, every version of the module should be purchased separately.
  • disregarding the version, purchasing a tool grants you a right for all updates and bug fixes within a major version.

Take into account that Odoo Tools team does not control those policies. By 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 would install the app for your project production branch. If you wanted 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.

  1. Unzip source code of purchased tools in one of your Odoo add-ons directory

  2. Re-start the Odoo server

  3. Turn on the developer mode (technical settings)

  4. Update the apps' list (the apps' menu)

  5. Find the app and push the button 'Install'

  6. 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.

Regretfully, we do not have a technical possibility to provide individual prices.

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.  

No, third party apps can not be used on Odoo Online.

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).

Multiple short URLs for a single address

Odoo URL shortener from website

Few seconds to update an Odoo website short URL

URL shortener: website customziation

Edit short URLs from website

Odoo website customization: short links

Odoo auto short URL website snippet

URL shortener: website snippet

Short URLs are created automatically when page is visited

Short link to share

URL Shortener: configuration

Settings for short urls

Token for default short URLs

Odoo URL shortener tokens

Iterator for default short URLs

Incrementing number for short links

List of available short URLs

short_url_backend_list.png

Odoo Short URL backend form

short_url_backend_form.png

Updating short URL (backend)

Short URL Odoo form view

Odoo demonstration databases (live previews)

For this app we might provide a free personalized demo database.

To demand such database: press the button "Live Preview" on the top of this page or copy the link https://faotools.com/s/ioga9h

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

By your request we will prepare an individual live preview database, where you would be able to apply any tests and to check assumptions during 14 days.

Bug reporting

In case you have faced any bugs or inconsistent behavior, do not hesitate to contact us. We guarantee to provide fixes during 60 days after a purchase, while even after this period we are strongly interested to improve our tools.

To send us a bug report: press the "Website" link on the top of this page and push the button "Bug Report" (the tab Support). Alternatively, copy the link https://faotools.com/s/w5xow7

No phone number or credit card are 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: screen shots, Odoo server logs, full description of how to re-produce your problem, and so on. Usually it takes a few business days to prepare a working plan by an issue (if a bug is confirmed) or provide you with guidelines what should be done (otherwise).

Public features request 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 into our to-do list.

Such to-do list is processed on a regular basis and does not assume extra fees. Altough we cannot promise deadlines and final design, it might be a good way to get desired features without investments and risks.

To share ideas: press the "Website" link on the top of this page and push the button "Share Features Ideas" (the tab Support). Alternatively, copy the link https://faotools.com/s/2jbqkw

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

New features and extra Odoo services (individual development)

Each of our apps might be customized and extended to suit your specific requirements.

Our customization team (itlibertas.com) fulfills not only such jobs but it also provides a full range of Odoo services. From simple modifications and consultations to complex enterprise projects. The team has completed over 100 implementations since 2012, and might help with any technical or business needs.

To contact us for details and conditions: press the "Website" link on the top of this page and push the button "Request Individual Customization" (the tab Support). Alternatively, copy the link https://faotools.com/s/hy6h22

No phone number or credit card are required to contact us: only a short email sign up which does not take more than 30 seconds.

Questions and misc issues

Feel free to contact us by any other concerns, doubts, or questions: press the "Website" link on the top of this page and push the button "Raise Question" (the tab Support). Alternatively, copy the link https://faotools.com/s/piji15

About the team

faOtools (faotools.com, former odootools.com) is the team of developers and business analysts to help you extend Odoo potential. We have been communicating with end users to whom the software became the main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed. We are open for new ideas and challenges to create the best Odoo apps for business needs all over the world.

You may like the tools

KnowSystem: Knowledge Base System

The tool to build deep and structured knowledge base for internal and external use. Knowledge System. KMS

298 268
Universal Appointments and Time Reservations

The tool for time-based service management from booking appointment to sale and reviews

399 359
KPI Balanced Scorecard

The tool to set up KPI targets and control their fulfillment by periods

198
Password Manager

The tool to safely keep passwords in Odoo for shared use

188
Odoo Documentation Builder

The tool to create website documentation based on your knowledge base

437 393
Joint Calendar

The tool to combine different Odoo events in a few configurable super calendars. Shared calendar. Common calendar.

74
Google Drive Odoo Integration

The tool to automatically synchronize Odoo attachments with Google Drive files in both ways

394 354
OneDrive / SharePoint Odoo Integration

The tool to automatically synchronize Odoo attachments with OneDrive files in both ways

394 354
OwnCloud / NextCloud Odoo Integration

The tool to automatically synchronize Odoo attachments with OwnCloud / NextCloud files in both ways

394 354
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.