Browse Source

🌈 pre-commit: make TODO for ambiguous code and ignore it

pull/270/head
Denis Mudarisov 5 years ago
parent
commit
3a33f6b5b0
  1. 4
      mail_move_message/static/src/js/mail_move_message.js

4
mail_move_message/static/src/js/mail_move_message.js

@ -1,3 +1,5 @@
/* eslint no-unused-vars: "off"*/
/* Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn> /* Copyright 2016 Ildar Nasyrov <https://it-projects.info/team/iledarn>
# Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev> # Copyright 2016 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
# Copyright 2016 Pavel Romanchenko # Copyright 2016 Pavel Romanchenko
@ -121,6 +123,7 @@ odoo.define("mail_move_message.relocate", function(require) {
) { ) {
var self = this; var self = this;
var field_data = event.data.record.data; var field_data = event.data.record.data;
// TODO: it seems like debugging, test without this code
this.on_saved = function(record, bool) { this.on_saved = function(record, bool) {
var values = [ var values = [
{ {
@ -143,6 +146,7 @@ odoo.define("mail_move_message.relocate", function(require) {
// Necessary for correct _trigger_up implementation in mixins.js // Necessary for correct _trigger_up implementation in mixins.js
return self; return self;
}; };
// TODO: it seems like debugging, test without this code
var wizard_popup = relField._searchCreatePopup("form", false, { var wizard_popup = relField._searchCreatePopup("form", false, {
message_name_from: message_name_from:
field_data.message_name_from && field_data.message_name_from &&

Loading…
Cancel
Save