[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:
@@ -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 = () => {
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user