From 2904192ad660a633586dfe6e3c45c9c07afe09a5 Mon Sep 17 00:00:00 2001 From: remi-filament Date: Mon, 6 Nov 2017 12:47:12 +0100 Subject: [PATCH 01/14] [CLA] signature for remi-filament Closes #20724 --- doc/cla/individual/remi-filament.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/cla/individual/remi-filament.md diff --git a/doc/cla/individual/remi-filament.md b/doc/cla/individual/remi-filament.md new file mode 100644 index 00000000000..b57242f471f --- /dev/null +++ b/doc/cla/individual/remi-filament.md @@ -0,0 +1,11 @@ +France, 2017-11-06 + +I hereby agree to the terms of the Odoo Individual Contributor License +Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this +declaration. + +Signed, + +Rémi CAZENAVE remi@le-filament.com https://github.com/remi-filament From 6488682cd66a5243e427d0c988572e19b28acda7 Mon Sep 17 00:00:00 2001 From: Nicolas Seinlet Date: Tue, 7 Nov 2017 10:25:47 +0100 Subject: [PATCH 02/14] Backport 2d66d9a63e85dada87b5c70b38bda9ec059aaaf4 [FIX] *: do not use groups when extending an asset bundle Using groups when declaring an extension of an asset bundle leads to a different generated asset bundle according to the user's group. This is not something we want because a dynamic asset bundle's content means that it could (and it does) trigger unwanted cache invalidation. website_event, website_blog, website_forum and website_sale add functions to . These functions are bound to server side qweb nodes protected by groups. We can always add the functions; if a user tries to use the routes he should receive a traceback because of lack of access rules website_blog adds a module, but is guarded by the presence of a node in the DOM. We use the same logic to guard the module added by website_sale with the node. website_gengo is working as expected. --- addons/website_blog/views/website_blog_templates.xml | 2 +- addons/website_event/views/website_event.xml | 2 +- addons/website_forum/views/website_forum.xml | 2 +- addons/website_gengo/views/website_gengo.xml | 2 +- addons/website_sale/static/src/js/website_sale.editor.js | 4 ++++ addons/website_sale/views/templates.xml | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) diff --git a/addons/website_blog/views/website_blog_templates.xml b/addons/website_blog/views/website_blog_templates.xml index 8ef8a4967bb..779ef067f95 100644 --- a/addons/website_blog/views/website_blog_templates.xml +++ b/addons/website_blog/views/website_blog_templates.xml @@ -2,7 +2,7 @@ -