Skip to main content
License: GPL-3

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

https://raw.githubusercontent.com/Mint-System/Wiki/master/assets/mint-system-logo.png

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)

Table of built distributions (wheels) for odoo-addon-url_slug 16.0.1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

16.0.1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page