Generate slug from record name for web urls.
Project description
Url Slug
Generate slug from record name for web urls.
For a detailed documentation have a look at https://www.odoo-wiki.org/url-slug.html
Configuration
Inherit the slug mixin in your module:
class Note(models.Model):
_name = "note.note"
_inherit = ['url.slug.mixin']
Optionally overwrite the compute slug method:
@api.depends("title")
def _compute_slug(self):
for record in self:
record.slug = slugify(record.title)
Maintainer
This module is maintained by Mint System GmbH.
For support and more information, please visit our Website.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_url_slug-18.0.1.0.0-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_url_slug-18.0.1.0.0-py3-none-any.whl
- Upload date:
- Size: 410.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dffb87cc14067b6b68753fabd2f7bdcaf75029b68f897c6a0c5a4ccf870965e
|
|
| MD5 |
0a98777a32452e82b02a6cf81e2d3644
|
|
| BLAKE2b-256 |
da15f72d7ee71088961ae2b228efffb7468fc5d7aeb639c4610a2df8985b984d
|