Skip to main content
License: LGPL-3

CMS Toolbar

Render management actions for CMS contents.

Usage

<t t-raw="main_object.cms_render_toolbar()" />

You can override all the params. For instance if you don’t want the popover:

<t t-raw="main_object.cms_render_toolbar(show_popover=False)" />

Full list of params

Default params from cms_info:

  • is_owner

  • can_edit

  • can_create

  • can_publish

  • can_delete

  • create_url

  • edit_url

  • delete_url

Extra params from cms_toolbar:

  • show_create

  • show_edit

  • show_delete

  • show_publish

  • show_popover

  • popover_content_template

  • main_object

Available actions/buttons

  • create

  • edit

  • delete

  • publish/unpublish

Also, there’s a popover feature to remind users to publish contents.

Below you see the default rendering from cms_toolbar_example:

./images/toolbar_preview.png

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo11-addon-cms-toolbar 11.0.1.1.1

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 odoo11-addon-cms-toolbar 11.0.1.1.1
File Interpreter ABI Platform
odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl

Download URL odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl
Size 32.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cd4e23c45d1fe6e65162719798e13a4c3584551d85b25d1e8237983d8d42bd67
BLAKE2b-256 checksum
How to use checksums
88ce9ba7d0e474839076395edd9ce85e7eb0e28d18ea9244516fbc0c223dedd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
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