From 3a33f6b5b01c5fe37fa9cb0f59f50f27218a628a Mon Sep 17 00:00:00 2001 From: Denis Mudarisov Date: Tue, 18 Feb 2020 16:42:06 +0500 Subject: [PATCH] :rainbow: pre-commit: make TODO for ambiguous code and ignore it --- mail_move_message/static/src/js/mail_move_message.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail_move_message/static/src/js/mail_move_message.js b/mail_move_message/static/src/js/mail_move_message.js index 79f38d8..5f320c1 100644 --- a/mail_move_message/static/src/js/mail_move_message.js +++ b/mail_move_message/static/src/js/mail_move_message.js @@ -1,3 +1,5 @@ +/* eslint no-unused-vars: "off"*/ + /* Copyright 2016 Ildar Nasyrov # Copyright 2016 Ivan Yelizariev # Copyright 2016 Pavel Romanchenko @@ -121,6 +123,7 @@ odoo.define("mail_move_message.relocate", function(require) { ) { var self = this; var field_data = event.data.record.data; + // TODO: it seems like debugging, test without this code this.on_saved = function(record, bool) { var values = [ { @@ -143,6 +146,7 @@ odoo.define("mail_move_message.relocate", function(require) { // Necessary for correct _trigger_up implementation in mixins.js return self; }; + // TODO: it seems like debugging, test without this code var wizard_popup = relField._searchCreatePopup("form", false, { message_name_from: field_data.message_name_from &&