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

i want created a button for do ctrl+p.

is any idea?

thanks

頭像
捨棄
作者 最佳答案

Hi silver Star

those codes are in js format. i do not have any idea for js language. please help me in another way.

thanks

頭像
捨棄
最佳答案

Hello,

This module may give an idea - https://apps.odoo.com/apps/modules/8.0/wct_keyboard_shortcuts/


Use Above  module code.

$.ctrl('D', function() {
$('a[data-section="other"]:contains("Duplicate")').each(function() {
if($(this).parents('.oe_sidebar_print').length == 0){
$(this).click();
}
});

});

you can write your function similar to this.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
9月 19
3495
0
9月 23
1879
0
9月 23
1580
2
3月 23
10023
2
3月 23
2435