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.
Metadata
Release files for odoo-addon-url_slug 16.0.1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_url_slug-16.0.1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_url_slug-16.0.1.0.0-py3-none-any.whl
| Download URL | odoo_addon_url_slug-16.0.1.0.0-py3-none-any.whl |
|---|---|
| Size | 421.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21253a84a84c6d034fdcf353a3bbd879aae1aa83a071786816fbda05ebbef6e3
|
|
BLAKE2b-256 checksum How to use checksums |
97546cd72393df26c08bfc0079efd00b5476cf0201effbab44653b210c8f1189
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|