Skip to Content
Menu
This question has been flagged
4 Replies
6516 Views

Hi,In a custom module, I added the code below to change the name og the group Employee

<record model="res.groups" id="base.group_user">

<field name="name">Agent</field>

</record>

That works for a newly created base, but not for an existing one.

Anyone has a tip to change that ?

Avatar
Discard

Can you be more specific on this same? what exactly you want to do?

Author

To change the name "Employee" to "Agent" without going through the interface but helped by an xml file.

For a newly created base, the code works but not for an existing one.

Best Answer

Hi,

This is happening because you didn't delete the old employee group from the existing database. Delete the group from the existing database and try to update the module. Surely it will work.

Avatar
Discard
Best Answer

Hello,

Please delete the old employee group from existing database first and then install your module code.

Hope this will work for you

Thanks,

Avatar
Discard
Related Posts Replies Views Activity
0
Feb 19
4206
1
Feb 18
3147
0
Feb 18
2823
1
Aug 24
341
0
Dec 24
16