Merge lp:~numerigraphe-team/openerp-addons/7.0-hide-oe_view_only into lp:ocb-web
Proposed by
Lionel Sausin - Initiatives/Numérigraphe
Status: | Superseded |
---|---|
Proposed branch: | lp:~numerigraphe-team/openerp-addons/7.0-hide-oe_view_only |
Merge into: | lp:ocb-web |
Diff against target: |
13 lines (+2/-1) 1 file modified
addons/web/static/src/css/base.css (+2/-1) |
To merge this branch: | bzr merge lp:~numerigraphe-team/openerp-addons/7.0-hide-oe_view_only |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stefan Rijnhart (Opener) | Disapprove | ||
Review via email: mp+212957@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-03-27.
Description of the change
This patch written by Daniel Hammerschmidt makes the style "oe_view_only" hide contents in "edit mode", in a way similar to "oe_edit_only" hiding them in "view only" mode.
It is not a bugfix but an small improvement, but even though I'm new to the web client code this looks pretty harmless.
This branch runs green on Runbot : http://
To post a comment you must log in.
Unmerged revisions
- 4166. By Daniel Hammerschmidt
-
[IMP] Hide oe_view_only style when not in edit mode
Hi Lionel,
this is a good improvement, as I commented on the bug report a year ago. However, if we put this feature in OCB, then we may get community modules depending on this feature, thus on OCB. The general attitude is that that is a bad thing for OCB.
Looks like this change translates into an equally short snippet that can easily be put in a separate community module, or even included in the modules that intend to use this functionality. So I dissapprove of having this in OCB. You may however, check the situation for trunk and propose there on the OpenERP branch so that we can all enjoy this in the next edition.
On a technical level, OpenERP 7.0 css is maintained in the sass file which you find in static/src/css, and then compiled to css. Sass files are compiled using a ruby package by the same name.