diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-01-20 12:43:48 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-01-24 13:02:01 +0000 |
| commit | 5a4edc09d67b42a218c6077a83998a8ed11c4fa3 (patch) | |
| tree | bd4b406e80e728676b8b70909f63d2089d1e2acb /addons/website_form | |
| parent | 4ca401a8556448d0ec1cf0e5e0f04de5fd602a1e (diff) | |
[IMP] website, *: prepare theme snippets addition in website
* website_blog, website_event, website_form, website_mail_channel,
website_mass_mailing, website_sale, website_twitter
+ Reorganize the order.
+ Do not promote apps via snippets when they already are promoted via
the "New" menu. Also do not promote apps in the same snippet section
more than once.
Part of https://github.com/odoo/odoo/pull/42937
task-2088157
Diffstat (limited to 'addons/website_form')
| -rw-r--r-- | addons/website_form/views/snippets.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_form/views/snippets.xml b/addons/website_form/views/snippets.xml index 4f96ac66f4e..f362505387b 100644 --- a/addons/website_form/views/snippets.xml +++ b/addons/website_form/views/snippets.xml @@ -18,7 +18,7 @@ </template> <template id="register_s_website_form" inherit_id="website.snippets" name="Snippet Form Builder"> - <xpath expr="//div[@id='snippet_feature']//t[@t-snippet][last()]" position="after"> + <xpath expr="//t[@id='form_form_hook']" position="replace"> <t t-snippet="website_form.s_website_form" t-thumbnail="/website/static/src/img/s_website_form.png"/> </xpath> </template> |
