[IMP] Open form dialog in edit mode
bzr revid: fme@openerp.com-20121025080747-hr57jyhfe67xxco4
This commit is contained in:
parent
149d05a83f
commit
baf6832302
|
@ -478,7 +478,7 @@ instance.web_calendar.CalendarFormDialog = instance.web.Dialog.extend({
|
|||
var self = this;
|
||||
this.ready.then(function() {
|
||||
if (self.dataset.select_id(id)) {
|
||||
self.form.do_show().then(function() {
|
||||
self.form.do_show({ mode: 'edit' }).then(function() {
|
||||
self.open();
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue