From b9ccf47709d13e4fb9cb4a24eb09fa1f7f467500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 25 May 2016 11:36:29 +0200 Subject: [PATCH] Improve Many2One icons - add a erase icon - move open icon as primary issue4540 review25311002 --- CHANGELOG | 3 ++ src/view/form.js | 75 ++++++++++++++++++++++++++++++++++++------------ 2 files changed, 59 insertions(+), 19 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ef8d10757f..f31321969c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +* Add erase on Many2One +* Re-position icons on Many2One widget + Version 4.0.0 - 2016-05-02 * Bug fixes (see mercurial logs for details) * Timedelta uses 30 days for month diff --git a/src/view/form.js b/src/view/form.js index bdc237e49b..74debc0deb 100644 --- a/src/view/form.js +++ b/src/view/form.js @@ -1555,16 +1555,24 @@ } // Append buttons after the completion to not break layout - var buttons = jQuery('', { - 'class': 'input-group-btn' - }).appendTo(group); - this.but_open = jQuery('