[FIX] website_form_editor: fix dependencies

This commit is contained in:
Jeremy Kersten
2019-04-08 08:09:26 +02:00
parent 20f17a0948
commit 20fa4e7ba1
4 changed files with 4 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

+1
View File
@@ -893,6 +893,7 @@
<template id="external_snippets" inherit_id="website.snippets" priority="8">
<xpath expr="//div[@id='snippet_feature']//t[@t-snippet][last()]" position="after">
<t t-install="website_twitter" string="Twitter Scroller" t-thumbnail="/website/static/src/img/snippets_thumbs/s_twitter_scroll.png"/>
<t t-install="website_form_editor" string="Form Builder" t-thumbnail="/website/static/src/img/s_website_form.png"/>
<t id="s_products_searchbar" t-install="website_sale" string="Products Search" t-thumbnail="/website/static/src/img/snippets_thumbs/s_products_searchbar.png"/>
</xpath>
<xpath expr="//div[@id='snippet_content']//t[@t-snippet][last()]" position="after">
+1 -1
View File
@@ -9,7 +9,7 @@
Customize and create your own web forms.
This module adds a new building block in the website builder in order to build new forms from scratch in any website page.
""",
'depends': ['website_enterprise', 'website_form'],
'depends': ['website_form'],
'data': [
'data/mail_mail_data.xml',
'views/website_form_editor_templates.xml',
@@ -13,13 +13,13 @@
</form>
</template>
<template id="remove_external_snippets" inherit_id="website_enterprise.external_snippets">
<template id="remove_external_snippets" inherit_id="website.external_snippets">
<xpath expr="//t[@t-install='website_form_editor']" position="replace"/>
</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">
<t t-snippet="website_form_editor.s_website_form" t-thumbnail="/website_enterprise/static/src/img/s_website_form.png"/>
<t t-snippet="website_form_editor.s_website_form" t-thumbnail="/website/static/src/img/s_website_form.png"/>
</xpath>
</template>