odoo/addons/web/static
Denis Ledoux e1cde4d038 [FIX] web: 558efacead not working for modals.
The above revision, which was already a patch for rev. a8f94a59cd, did not work properly for modals, like the use template many2one field of the mail.compose.message wizard.

We therefore append the ui-menu selection nearer to the input field.

$el.parent().parent() looks odd, but the goal is to append this selection ui just after the parent of the field, but as jquery ui autocomplete only accepts appendTo (and not after()), we append it to the parent of the field parent.

This fix has been verified for
 * many2one fields in classic form view (with or without sheets)
 * many2one fields in editable list view (embedded in form view or not-
 * many2one fields in wizard modals
 * many2one fields of the bank statement reconciliation widget
2014-12-10 21:45:28 +01:00
..
lib [MERGE] forward port of branch 7.0 up to 5035c76 2014-11-04 12:19:58 +01:00
src [FIX] web: 558efacead not working for modals. 2014-12-10 21:45:28 +01:00
test [ADD] JS widgets reference documentation 2014-10-07 10:21:44 +02:00