[FIX] @groups attribute should not disappear when editing
authorXavier Morel <xmo@openerp.com>
Tue, 17 Jun 2014 10:22:15 +0000 (12:22 +0200)
committerXavier Morel <xmo@openerp.com>
Tue, 17 Jun 2014 10:22:15 +0000 (12:22 +0200)
commitdda18249c0fa1b2ac9d6eb39bc7397b71fb26c81
tree26fa90eaead946c6ede7179794ce2669430263e7
parent79e10200d5cc78d39a139f63eb2a69309878ab04
[FIX] @groups attribute should not disappear when editing

The @groups attribute in qweb views was not rendered (even when matched by the
user), so editing a template with an @groups would either remove the whole
section (if the user didn't have the groups, fixed in previous commit) or only
removed the attribute itself making it visible to everybody (which ought be
fixed-ish by this commit).
addons/website/static/src/js/website.editor.js
openerp/addons/base/ir/ir_qweb.py