Toolbar for user actions.
Project description
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
Contributors
Simone Orsi <simone.orsi@camptocamp.com>
Maintainer
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo11_addon_cms_toolbar-11.0.1.1.0.99.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e11f8a19396bcd770fab4cba4f6b1eb11dff3e6486fb5be498b1c1f6fa06dcd3 |
|
MD5 | ca83bf20d6c2b7404f222847eb02f365 |
|
BLAKE2b-256 | 1d832354db7d2e195edfca83376c0e70e3e958f09fcf0eb375f08d9d4c7d0ab5 |