summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
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');