v 11.0 Third Party 80
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website Builder (website)
Discuss (mail)
Community Apps Dependencies
Lines of code 636
Technical Name cms_toolbar
LicenseLGPL-3
Websitehttps://github.com/OCA/website-cms
You bought this module and need support? Click here!
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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.