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

Hello dear odooers

I just want to add extra button next to create in hr.payroll payslips menu and after user select records do something.

Also how to override print and favorite menu placed in the tree view.

so this is my code to add an extra item to payslip action menu :

    <record id="hr_employee_action_sub" model="ir.actions.act_window">
<field name="name">New Item>
<field name="type">ir.actions.act_window>
<field name="res_model">hr.payslip<field>
<field name="domain">[]>
<field name="view_mode">tree,form<field>
<field name="view_id" ref="hr_payroll.view_hr_payslip_form"/>

record
>

i can make a sub menu in action menu but how can i trigger python function

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mai 22
2386
1
ian. 22
1916
1
oct. 21
14116
2
ian. 24
14240
6
ian. 24
15805