[IMP] website_*: suggest installation of form editor in snippet menu
* enterprise, form_editor See commit https://github.com/odoo/odoo/commit/aaeef14903d4a3f359fcd6dd61a4f8ee41c947a4
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ Odoo Form Editor
|
||||
|
||||
Allows you to build web forms on the website using the website builder.
|
||||
""",
|
||||
'depends': ['website_form'],
|
||||
'depends': ['website_enterprise', 'website_form'],
|
||||
'data': [
|
||||
'data/mail_mail_data.xml',
|
||||
'views/website_form_editor_templates.xml',
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 536 B |
+6
-2
@@ -12,9 +12,13 @@
|
||||
</form>
|
||||
</template>
|
||||
|
||||
<template id="remove_external_snippets" inherit_id="website_enterprise.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']/div[contains(@class, 'o_panel_body')]" position="inside">
|
||||
<t t-snippet="website_form_editor.s_website_form" t-thumbnail="/website_form_editor/static/src/img/s_website_form.png"/>
|
||||
<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"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user