Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
3266 Visualizzazioni

i want created a button for do ctrl+p.

is any idea?

thanks

Avatar
Abbandona
Autore Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 19
3474
0
set 23
1856
0
set 23
1555
2
mar 23
9990
2
mar 23
2423