Browse Source

[RFR] cleanup

pull/309/head
Tom Blauwendraat 7 years ago
committed by Holger Brunn
parent
commit
79dd709865
  1. 2
      mail_edit/static/src/js/mail_edit.js

2
mail_edit/static/src/js/mail_edit.js

@ -31,9 +31,7 @@ openerp.mail_edit = function (instance) {
do_action(action, { do_action(action, {
on_close: function () { on_close: function () {
// reload view // reload view
//debugger;
var parent = self.getParent().getParent().getParent().getParent() var parent = self.getParent().getParent().getParent().getParent()
console.log(parent.model)
if (typeof parent.model !== "undefined"){ if (typeof parent.model !== "undefined"){
parent.reload(); parent.reload();
} }

Loading…
Cancel
Save