[FIX] web, mail: remove unnecessary console.log

Following commit 118ddcace0.
a few console.log escaped the attention of the reviewer.

This commit removes them.

closes odoo/odoo#75832

Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
Lucas Perais (lpe)
2021-09-01 11:05:50 +00:00
parent 6e67c17538
commit 33476a4888
3 changed files with 0 additions and 8 deletions
@@ -60,8 +60,6 @@ export const Many2OneAvatarUser = Many2OneAvatar.extend(M2XAvatarMixin, {
}),
on_attach_callback() {
console.log("on_attach_callback ", this.mode)
this._registerCommandAssignTo()
},
on_detach_callback(){
@@ -2505,13 +2505,8 @@ var PriorityWidget = AbstractField.extend({
var checked = this.$("[aria-checked='true']");
return checked.length ? checked : this.$("[data-index='1']");
},
init: function () {
this._super.apply(this, arguments);
console.log("init ", this.mode)
},
on_attach_callback() {
console.log("on_attach_callback ")
const self = this;
if (self.viewType === "form") {
let provide = () => {
-1
View File
@@ -135,7 +135,6 @@ export function makeLegacyCommandService(legacyEnv) {
const commandRemoveMap = new Map();
function setLegacyCommand(uniqueId, getCommandDefinition) {
console.log("setLegacyCommand ", uniqueId);
const { name, action, options } = getCommandDefinition(env);
removeLegacyCommand(uniqueId);
commandRemoveMap.set(uniqueId, command.add(name, action, options));