콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3316 화면

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
3508
0
9월 23
1897
0
9월 23
1594
2
3월 23
10036
2
3월 23
2446