跳至內容
選單
此問題已被標幟
1 回覆
1582 瀏覽次數

How do I change the url ( onclick ) for Documentation, Support , Shortcuts when I click on the profile Icon of the user.


https://ibb.co/S7Fr78y

頭像
捨棄
最佳答案
odoo.define('module_name.UserMenu', function (require) {
"use strict";
var UserMenu = require('web.UserMenu');
var support_url = 'https://www.xyz.com';
var account_url = 'https://www.xyz.cn';
var documentation_url = 'https://www.xyz.com';

UserMenu.include({
_onMenuAccount: function () {
window.open(account_url, '_blank');
},
_onMenuDocumentation: function () {
window.open(documentation_url, '_blank');
},
_onMenuSupport: function () {
window.open(support_url, '_blank');
},
})});

Thanks & Regards,



CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
    

頭像
捨棄
作者

Thank you.

相關帖文 回覆 瀏覽次數 活動
0
8月 25
106
1
8月 25
2054
1
7月 25
2584
2
7月 25
8022
2
7月 25
4472