3
0
Fork 0

[FIX] pep8

[FIX] remove unuseful comments
7.0
Damien Crier 2015-06-05 07:56:44 +02:00
parent 392f0ef14a
commit 7a48445c18
2 changed files with 1 additions and 6 deletions

View File

@ -19,4 +19,4 @@
#
##############################################################################
import controller
import controller

View File

@ -10,17 +10,12 @@ openerp.web_warning_on_save = function (instance) {
var model = self.model;
var param = {'model': model,
'id': self.datarecord.id ? self.datarecord.id : id};
// try {
self.rpc('/web/warning_on_save/check_warning_on_save', param)
.done(function(res) {
if (res != false){
alert(res);
}
});
// }
// catch(err){
// // nothing
// }
})
},
});