diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-11-23 16:52:57 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-11-23 17:01:03 +0100 |
| commit | 6f29cbe3ace5302781aa51d727b4358903efb373 (patch) | |
| tree | 89d96951b7916488d931bb1028f1f9bc130ed21c /addons/website/static/src/xml/website.editor.xml | |
| parent | a92b55865296ed600f755f1462297b7e6a596e17 (diff) | |
[FIX] website,ir_qweb: prevent inherit_branding for assets
The attribute `data-oe-*` (`data-oe-id`, `data-oe-model`, ...)
must not be added when rendering the assets, to avoid
having different assets content,
e.g. a different content for the assets_common,
according if the user is signed in or not,
if the user can edit the website or not.
A different content for an assets according to the
users rights or the user being signed in or not means
that the assets are permanently re-written in the filestore,
which is against the point of the assets.
The content of the assets (assets_common) must not be
different from time to time, it must always be the same
(except when installing a new module, obviously).
Adding the `data-oe` attributes was pointless for the assets
anyway, and prevented having an identical content all
the time, therefore rewritting the assets all the time
in the filestore.
opw-657046
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
0 files changed, 0 insertions, 0 deletions
