summaryrefslogtreecommitdiff
path: root/addons/base/static/src/xml/base.xml
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2011-08-11 18:03:47 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2011-08-11 18:03:47 +0200
commita245bf37194da0ad2e0ebbb06fc8665b6ad7cc49 (patch)
tree78295b6cbadad1a5fc541cbaba34b877da5605d4 /addons/base/static/src/xml/base.xml
parent1dea8eff47b258bcab4e81a765080a7ffa618fad (diff)
[imp] add Save & New in popups for o2m & m2m
bzr revid: nicolas.vanhoren@openerp.com-20110811160347-rn4kjlpib1lh1o5p
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
-rw-r--r--addons/base/static/src/xml/base.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml
index 4e581e8c175..f9ec63dd69c 100644
--- a/addons/base/static/src/xml/base.xml
+++ b/addons/base/static/src/xml/base.xml
@@ -1114,11 +1114,17 @@
</t>
<t t-name="SelectCreatePopup.search.buttons">
<button type="button" class="oe_selectcreatepopup-search-select" disabled="disabled">Select</button>
- <button type="button" class="oe_selectcreatepopup-search-close">Close</button>
+ <button type="button" class="oe_selectcreatepopup-search-close">Cancel</button>
</t>
<t t-name="SelectCreatePopup.form.buttons">
- <button type="button" class="oe_selectcreatepopup-form-save">Save</button>
- <button type="button" class="oe_selectcreatepopup-form-close">Close</button>
+ <t t-if="widget.options.disable_multiple_selection">
+ <button type="button" class="oe_selectcreatepopup-form-save">Save</button>
+ </t>
+ <t t-if="! widget.options.disable_multiple_selection">
+ <button type="button" class="oe_selectcreatepopup-form-save-new">Save &amp; New</button>
+ <button type="button" class="oe_selectcreatepopup-form-save">Save &amp; Close</button>
+ </t>
+ <button type="button" class="oe_selectcreatepopup-form-close">Cancel</button>
</t>
<t t-name="FormOpenPopup">
<div t-att-id="element_id">
@@ -1127,7 +1133,7 @@
</t>
<t t-name="FormOpenPopup.form.buttons">
<button type="button" class="oe_formopenpopup-form-save">Save</button>
- <button type="button" class="oe_formopenpopup-form-close">Close</button>
+ <button type="button" class="oe_formopenpopup-form-close">Cancel</button>
</t>
<t t-name="ListView.row.frame" t-extend="WidgetFrame">
<t t-jquery="tr">