تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2661 أدوات العرض

hello i use jqury to append icon to the specific menuitem but not showing anything this is my js file :

odoo.define('my_module_name.AddMenuIcon', function (require) {    'use strict';    varAppsMenu = require('web.AppsMenu');    var Menu = require('web.Menu');    var core = require('web.core');    var QWeb = core.qweb;    var session = require('web.session');
    Menu.include({        start:function () {              va rself = this;
               
                var $menu_item = this.$('.o_menu_sections').find('a[data-menu="229"]').find('span')                $menu_item.append(' ');                                return this._super.apply(this, arguments);        },    });    return {        'Menu':Menu,    };});


i add the js file to the aaset.backend but not showing anything thank's 

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 23
3139
1
يناير 23
7949
2
يوليو 22
12396
1
ديسمبر 20
7492
1
أغسطس 19
4350