summaryrefslogtreecommitdiff
path: root/addons/website_form/views
diff options
context:
space:
mode:
authorJigar Patel <jat@openerp.com>2019-04-19 07:16:59 +0000
committerRomain Derie <rde@odoo.com>2019-04-19 10:39:16 +0000
commit6404233bb090c808a9bb211d85cdcdab1d0d2092 (patch)
tree30518fb0aeca08e6eb040cbf68d49ccbd5529e38 /addons/website_form/views
parente834de3d1070654968be8ebc22175aae6e1cdc68 (diff)
[IMP] wesbite_form: add mechanism to allow default atttibutes to form
That way, it is possible to add the template, fields and success page to different type of form. Next commits will use what has been done in this commit. task-32212
Diffstat (limited to 'addons/website_form/views')
-rw-r--r--addons/website_form/views/assets.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_form/views/assets.xml b/addons/website_form/views/assets.xml
index cdf869294c1..0c463b6151c 100644
--- a/addons/website_form/views/assets.xml
+++ b/addons/website_form/views/assets.xml
@@ -13,6 +13,7 @@
<template id="assets_editor" name="Website Form Editor Assets Editor" inherit_id="website.assets_editor">
<xpath expr="." position="inside">
<script type="text/javascript" src="/website_form/static/src/js/website_form_editor.js"/>
+ <script type="text/javascript" src="/website_form/static/src/js/website_form_editor_registry.js"/>
</xpath>
</template>