summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-05-10 19:07:08 +0000
committerRomain Derie <rde@odoo.com>2019-05-21 15:18:25 +0000
commit58f0bad306ff789a8ed1373172ab99363b744d26 (patch)
treed755276c9da88cc96d3088fcc0c45d0fca743c53 /addons/web/static/tests/fields/basic_fields_tests.js
parent1b045d0ed4031bc190940057d2816d53d11c7127 (diff)
[IMP] website: add specific object for Optimize SEO
Before this commit, the object used by Optimize SEO 'wizard' was always the main object, without any possibility to change that (except by changing the main object but that would cause a lot of other issue, eg edit in backend). This commit add the possibility to explicitly set a seo object on the html data attribute. If set, this one will be used instead of the main object. This is useful for event.event where all the event pages (with website menu enabled) would share the same SEO since the main object would be the event.event. With this commit, the seo object is now the website.page, thus giving the possibility to have a separate SEO for every event pages. (Required for Odoo.com website for OXP) closes odoo/odoo#33194 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions