Merge lp:~therp-nl/web-addons/trunk-web-hide-buttons into lp:~webaddons-core-editors/web-addons/6.1
Proposed by
Ronald Portier (Therp)
Status: | Merged |
---|---|
Merged at revision: | 13 |
Proposed branch: | lp:~therp-nl/web-addons/trunk-web-hide-buttons |
Merge into: | lp:~webaddons-core-editors/web-addons/6.1 |
Diff against target: |
122 lines (+103/-0) 3 files modified
web_hide_buttons/AUTHORS (+3/-0) web_hide_buttons/__openerp__.py (+43/-0) web_hide_buttons/static/src/js/web_hide_buttons.js (+57/-0) |
To merge this branch: | bzr merge lp:~therp-nl/web-addons/trunk-web-hide-buttons |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Niels Huylebroeck (community) | Approve | ||
Holger Brunn (Therp) | Approve | ||
Guewen Baconnier @ Camptocamp | Approve | ||
Review via email: mp+143402@code.launchpad.net |
Description of the change
This merge adds a module to optionally hide the create and delete buttons from the web.
Wether one of the buttons is hidden or not depends on configuration of the context in the view action. So you can have most views with the buttons intact, and some views with the buttons readonly.
This is now limited to the Create and Delete buttons, but might in the future be extended to the duplicate and other buttons or UI elements al well.
To post a comment you must log in.
Actually, the 'duplicate' button is hidden if 'nocreate' is defined in the context but it cannot be hidden separately.