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 and SEO-friendly 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 your own SEO-friendly key words (for example, /s/desk, /s/best-chairs)
Short URLs for any link types
The app works equally for dynamic controllers (e.g., a product page or even store pages with chosen filters) and static website pages (including custom ones). Also, the shortener might redirect to the page translations.
QR codes for website links
Each short URL peers with an automatic QR code image that might be downloaded, shared or added to Odoo website pages
Multi channels control
Have as many short links for a single address as needed for various purposes. Share one on Facebook, another - on Twitter, and a special one - for specific partners. Then, count redirects for each source.
Comfortable administration
Use the URL shortener right while customizing the website or in Odoo's advanced backend. Make a link soon expired or forever-lasting. Update tokens at any moment or archive short links if it is no anymore valid
Website snippets
The app introduces the special website snippets which might be added to any Odoo website's inner content. Such a snippet will find or create a short URL or URL QR code 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 or QR code image for a target website address by applying a single Python method.
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 the default tokens or custom keywords. 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)
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.
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 the 'iterator' to generate a link with a 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 the '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 that are assumed to enter manually, etc.
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 lets us 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 the 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 the multi-website mode)qr_base_url- boolean - if False the method would return a final URL, if True - a QR code content. -
The method would return a string - a found short URL (e.g. '/s/desk'), a binary content of a QR code, 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, False)
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 goal, you might drag and drop the special website editor snippets 'Short URLs' and 'Short URL QR Code'
-
The snippet 'Short URLs' adds a text block with a short link. Alternatively, you may add an XML line with the tag
awith the HREF"#"and the class"short_url_widget" -
The snippet 'Short URL QR Code' adds a QR code image that you may customize using the standard Odoo website designer tools
-
Each time a page with such a snippet is opened, a short URL will be searched and - if not found - created. In this way, you may show a visitor a valid short URL or its QR code, which he/she might copy, share, and scan
-
Take into account: the snippets search only for always valid global short URLs.
に関するよくある質問 Website URL shortener Odoo v.16
ツールの更新ポリシーは何ですか?
現行の Odoo Apps Store ポリシーによると:
- バージョン 12.0 以前向けに購入したモジュールは、12.0 までの全バージョンにアクセスできます。
- バージョン 13.0 以降、各モジュールバージョンは個別に購入します。
- バージョンに関係なく、購入するとメジャーバージョン内の すべての更新と不具合修正の権利が得られます。
faOtools チームはこれらのポリシーを管理していません。ご質問は Odoo Apps Store の担当者へ直接お問い合わせください。
アプリを Odoo.sh にインストールする方法は?
最も単純な方法は、Odooストア組み込みのワークフローを使うことです:
1. モジュールのページを開き、Deploy on odoo.sh ボタンをクリックします。
2. その後 GitHub ページにリダイレクトされます。アカウントにログインし、'Create a new repo' をクリックするか既存のものを使います。リポジトリはプライベートにしてください。OPL-1 ライセンスのアプリを公開することは許可されていません。必要なら Odoo.sh プロジェクト用に新しい repo を作成します。
3. 次に odoo.sh に行き、Deploy ボタンをクリックします。ポップアップで決定を送信し、'Continue.' をクリックします。これでインストールが始まります。
これらの手順でプロジェクトの本番ブランチにアプリがインストールされます。他のブランチにデプロイする、またはモジュールを更新する場合は、次の操作を行います:
1. Odooストアからアプリのソースコードをアップロードします。
2. モジュールを必要な GitHub リポジトリにコミットします。アプリのフォルダ/ファイルが無視されていないこと(repo の .gitignore に含まれていないこと)を確認してください。リポジトリは odoo.sh が自動作成し、既定で重要な項目(例: /lib)が含まれることがあります。モジュールのディレクトリ、サブディレクトリ、ファイルを例外なくすべてアップロードしてください。
3. odoo.sh プロジェクトの対象ブランチを Deploy するか、 設定がそうなっている場合は自動ビルドされるまで待ちます。
自分のサーバーにアプリをインストールするには?
2. Odoo サーバーを再起動します;
3. 開発者モードをオンにします(技術設定);
4. アプリ一覧を更新します(アプリメニュー);
5. アプリを見つけて「Activate」/「Install」を押します;
6. アプリページにガイドラインがあれば従ってください。
アプリに追加アドオンがあるのに気づきました。後から購入できますか?
はい、もちろんです。同時に Odoo は依存関係をすべてカートに自動追加するので、二重払いを避けるには既に購入したツールを除外してください。
アプリを Odoo.sh にデプロイしたらテストで警告/エラーが出ます
赤/オレンジの警告はアプリの機能に影響しません。残念ながら、標準の自動テストがアプリの目的と衝突する動作を想定するため、モジュールが通らないことがあります。たとえば価格計算を変える一方、標準 Odoo モジュールのテストは最終価格を標準アルゴリズムと比較します。
まず、デプロイ済みデータベースの機能を確認してください。すべて正しく動いていますか?
それでも警告が実機能に影響すると考える場合はご連絡のうえ、インストールログ一式とデプロイ済みモジュールの全一覧(コアおよびサードパーティ含む)を送ってください。
アプリを御社から直接購入できますか?
いいえ、ツールは 公式の Odoo アプリストア.
割引をいただきたいです
残念ながら、個別価格を提示する技術的手段が ありません。
Odoo Online (SaaS)データベースにアプリをインストールできますか?
いいえ、サードパーティアプリは Odoo Online では使えません。残念ながら Odoo SaaS がその可能性をブロックします。
ツールは他のアプリに依存しています。それらも購入すべきですか?
はい、ツールが正しく動くには依存関係に記されたすべてのモジュールが必要です。アプリページの価格には必要な依存関係がすでに含まれています。
モジュールの米ドル価格はいくらですか?なぜ変わりましたか?
モジュールの価格はユーロ建てです。Odoo ストアは内部為替レートで他通貨に換算します。そのため為替が更新されると米ドル価格が変わることがあります。
英語以外のアプリ・サイト文言は AI 支援で作成され、 公式の Odoo 翻訳に揃えています。誤りを見つけたら、 翻訳の正確さについてチケットを送る 修正します。
Odoo デモデータベース(ライブプレビュー)
このアプリでは無料の個別デモデータベースをご用意できる場合があります。
ご連絡に電話番号やクレジットカードは不要です。30 秒以内の短いメール登録だけです。
ご依頼に応じて個別のライブプレビューデータベースを用意します。約2週間、テストや前提の確認ができます。
不具合報告
不具合や一貫しない動作があれば、遠慮なくご連絡ください。購入から60日以内の修正を保証し、その後もツール改善に力を入れています。
ご連絡に電話番号やクレジットカードは不要です。30 秒以内の短いメール登録だけです。
リクエストにはできるだけ多くの詳細を含めてください:スクリーンショット、Odoo サーバーログ、問題の再現手順の完全な説明など。通常、問題の作業計画の作成(不具合が確認された場合)または実施すべき内容の案内(それ以外)には数営業日かかります。
公開の機能リクエストとモジュールのアイデア(無償開発)
ツール改善への意欲は強く、フィードバックには感謝します。要件が広く役立ち、効率よく実装できる場合、チームは To-do リストに加えます。
このような To-do リストは定期的に処理され、追加料金は発生しません。期限や最終デザインは約束できませんが、投資とリスクなしで望む機能を得る良い方法になることがあります。
ご連絡に電話番号やクレジットカードは不要です。30 秒以内の短いメール登録だけです。
The tool to flexibly structure Odoo attachments in folders and synchronize directories with cloud clients: Google Drive, OneDrive/SharePoint, Nextcloud/ownCloud, and Dropbox. DMS. File Manager. Document management system
The tool to automatically synchronize Odoo attachments with OneDrive files in both ways
The tool to automatically synchronize Odoo attachments with Google Drive files in both ways
The tool to build a deep and structured knowledge base for internal and external use. Knowledge System. KMS. Wiki-like revisions.
398€The tool for time-based service management from booking appointments to sales and reviews
The tool to set up KPI targets and control their fulfillment by periods. KPI dashboards. Dashboard designer. KPI charts
198€お気に入りの AI チャットから MCP 経由で Odoo を管理するツール。Claude。MCP 対応の任意の AI。
198€The tool to translate URL addresses of Odoo website pages
38€