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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo11_addon_cms_toolbar-11.0.1.0.0.99.dev4-py2.py3-none-any.whl.
File metadata
- Download URL: odoo11_addon_cms_toolbar-11.0.1.0.0.99.dev4-py2.py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b5f010bfed2b546893af43863cf7853a33f4b817bcb8079ca236b73e49ef04
|
|
| MD5 |
d9edfa63391e44e8a4863d1ba0a8a5d2
|
|
| BLAKE2b-256 |
4593005536038fc5e665f76d3d0c2a1a46dc429808bdbf6ace533fdd35213898
|