Skip to main content

Toolbar for user actions.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl (32.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for odoo11_addon_cms_toolbar-11.0.1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cd4e23c45d1fe6e65162719798e13a4c3584551d85b25d1e8237983d8d42bd67
MD5 a97a0cec9f4ca46c4e510e7ebec2a65e
BLAKE2b-256 88ce9ba7d0e474839076395edd9ce85e7eb0e28d18ea9244516fbc0c223dedd7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page