summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-05-19 15:08:20 +0200
committerGéry Debongnie <ged@odoo.com>2015-05-19 15:08:20 +0200
commitf3b46459f3b5304587fad29ab167752fee278df0 (patch)
tree6e67a08761015b9b4f765222243a78adaf18d058 /addons/web/static/src/xml/base.xml
parentd403c9acfd5c6afac83b98b0386fd46d4aca3646 (diff)
[REVERT] web: form_relational_widget: remove unused javascript code
This reverts commit 6c0376e93263ef8d9df80e464fd9c76dc49a6e94. It turns out that this javascript code was not unused after all. (see kanban view inside customers, clicking on them should open the contact in a popup)
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index e0044346686..7bc79aec9ea 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1573,6 +1573,11 @@
</a>
</t>
+<t t-name="One2Many.formview" t-extend="FormView">
+ <t t-jquery=".oe_form_buttons" t-operation="inner">
+ <button type="button" class="oe_button oe_form_button_create">Add</button>
+ </t>
+</t>
<t t-name="One2Many.listview" t-extend="ListView">
<t t-jquery="thead > tr:first">
this.removeAttr('t-if');