コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3306 ビュー

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
3496
0
9月 23
1879
0
9月 23
1581
2
3月 23
10025
2
3月 23
2437