[FIX] web: focus field in editable listview
authorMohammed Shekha <msh@openerp.com>
Wed, 10 Sep 2014 14:18:54 +0000 (16:18 +0200)
committerMartin Trigaux <mat@openerp.com>
Wed, 10 Sep 2014 14:19:22 +0000 (16:19 +0200)
commitf8b48c8d61f587aa3be0d249efefc313dde1f574
tree017d3f9a9622db933fd030508b15926ad4cb94c9
parentbae5a75ce1847a89ca1c3557c732c46fc04022a8
[FIX] web:  focus field in editable listview

If one click on empty area of button at that time we should set focus of the field based on field order.
Do not evict record from dataset, otherwise it will go to read from database and will do server call for read, if user is cancelling in one2many then there is no need to read record from database, this will also fix the issue of unorder execution of event trigger. (opw 613100)
addons/web/static/src/js/view_form.js
addons/web/static/src/js/view_list_editable.js