summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2014-06-10 12:29:47 +0200
committerChristophe Simonis <chs@odoo.com>2014-06-10 12:29:47 +0200
commit6b8e9727e5ab2e7b841c307d4700934048af8d37 (patch)
tree771c742ebf5a550f9bd9c9389ce82a260ff71ac1 /addons/web/static/src/xml
parent6eacf9167177b3809700b1ae96604fef03fb226b (diff)
parent4601d859440c7be464c670741e434a012e16d3b3 (diff)
[MERGE] forward port of branch saas-3 up to 4601d85
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 3a2f22e78a1..6017dcf2e50 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1472,8 +1472,9 @@
<t t-if="! widget.options.disable_multiple_selection">
<button type="button" class="oe_button oe_selectcreatepopup-search-select oe_highlight" disabled="disabled">Select</button>
</t>
+ <t t-if="!widget.options.no_create">
<button type="button" class="oe_button oe_selectcreatepopup-search-create">Create</button>
- or <a class="oe_selectcreatepopup-search-close oe_bold oe_form_button_cancel" href="javascript:void(0)">Cancel</a>
+ or </t><a class="oe_selectcreatepopup-search-close oe_bold oe_form_button_cancel" href="javascript:void(0)">Cancel</a>
</t>
<t t-name="AbstractFormPopup.buttons">
<t t-if="! readonly">