Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3262 Vizualizări

i want created a button for do ctrl+p.

is any idea?

thanks

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
sept. 19
3474
0
sept. 23
1855
0
sept. 23
1553
2
mar. 23
9986
2
mar. 23
2419