diff options
| author | Raphael Collet <rco@openerp.com> | 2012-09-05 11:38:59 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-09-05 11:38:59 +0200 |
| commit | b339be14507465c78377abe3ab8d4a376a507986 (patch) | |
| tree | 5a48304f7334de0380be8ff3bccc3fa6cc829467 /addons/web/static/src/css | |
| parent | 3e9e129dd047145fd4add65e6e1b284da5206263 (diff) | |
| parent | 7b27e55d493147f0b7a9eee426bb6c0456632458 (diff) | |
[MERGE] trunk-access-ui-jam (hide buttons or disable actions to create/edit/delete that are not permitted to user)
bzr revid: rco@openerp.com-20120905093859-oh1udej3kgyghudy
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 6 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 601133b2e7f..cb7ecddfa82 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2711,6 +2711,12 @@ content: "ö"; color: #404040; } +.openerp .oe_list_cannot_edit .oe_list_header_handle, .openerp .oe_list_cannot_edit .oe_list_field_handle { + display: none !important; +} +.openerp .oe_list_cannot_delete .oe_list_record_delete { + display: none !important; +} .openerp .tree_header { background-color: #f0f0f0; border-bottom: 1px solid #cacaca; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 6ee03494e7d..6fb2c8d21c1 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2072,6 +2072,13 @@ $sheet-max-width: 860px .oe_list_handle @include text-to-icon("ö") + .oe_list_cannot_edit + .oe_list_header_handle, .oe_list_field_handle + display: none !important + .oe_list_cannot_delete + .oe_list_record_delete + display: none !important + // }}} // Tree view {{{ .tree_header |
