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

i want to change employees menuitm to be like, let's say 'new_item"

i have created a new module and in which i  declared a xml file with this content 

    <?xml version="1.0" encoding="utf-8"?>

        <odoo>

           <data>

                <record id="hr.menu_hr_employee_user" model="ir.ui.menu">

           <field name="name">New Emp</field>

                </record>

           </data>

      </odoo>


and nothing more, except declaring the name of the same xml file on data ['name_file.xml',]

the problem is, that's nothing change in terms of this menuitem  

any thoughts please !




 

Avatar
Abbandona
Autore

i am working with french interface, i changed it to english and it works just fine, but in french layot that's not working @Niyas Raphy

you might need to update the translation terms

Autore Risposta migliore

that's what i did, but unfortunatly it didn't work, i ll keep it in eglish. Thanks for help 

Avatar
Abbandona
Risposta migliore

Hi,

I have tried the same code and it seems working. Are you sure that the module containing this file has been installed in the database that you are checking ?

Also make sure that you have taken the External ID of correct menu, that you are looking to make change.




Thanks

Avatar
Abbandona
Risposta migliore

Hello Hima,

can you please Try by changing "name" field of action of that menu item "open_view_employee_list_my"

Regards,




Email:   odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mag 20
4621
2
mag 20
3928
0
mag 20
1635
1
giu 20
3736
0
apr 20
3279