[FIX] @default_focus not honored in embedded form views
lp bug: https://launchpad.net/bugs/944080 fixed bzr revid: fme@openerp.com-20120305171656-yz1jjoin17hh8ast
This commit is contained in:
parent
0e177c2505
commit
28f1ded961
|
@ -205,7 +205,7 @@ openerp.web.FormView = openerp.web.View.extend( /** @lends openerp.web.FormView#
|
|||
if (self.sidebar) {
|
||||
self.sidebar.attachments.do_update();
|
||||
}
|
||||
if (self.default_focus_field && !self.embedded_view) {
|
||||
if (self.default_focus_field) {
|
||||
self.default_focus_field.focus();
|
||||
}
|
||||
if (record.id) {
|
||||
|
|
Loading…
Reference in New Issue