How setting roles in openerp 6.0?

Asked by Ana Juaristi Olalde

Hi:

Maybe this is a real basic question but in 5.0 we could set roles to users in order to allow them push workflow buttons or not.

In 6.0 I can see that roles page it's not visible anymore on users form. I would like to know what changed or how could now set permissions to users on workflow buttons.

Thank you:

Ana

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Riken Bhorania (OpenERP)
Solved:
Last query:
Last reply:
Revision history for this message
Christophe Hanon (www.adins.be) (chanon) said :
#1

Hello Ana,

roles are gone, you now have to use groups.

Christophe

Revision history for this message
Ana Juaristi Olalde (ajuaristio) said :
#2

OK... any link to any documentation where I could see how to do it?

Thank you for your incredibly quick answer!!!

Revision history for this message
Best Riken Bhorania (OpenERP) (rch-openerp) said :
#3

Hello Ana,

Here is the example of how to set user group in your workflow transition.

<record model="workflow.transition" id="t10">
        <field name="act_from" ref="act_validate1" />
        <field name="act_to" ref="act_refuse" />
        <field name="signal">refuse</field>
        <field name="group_id" ref="base.group_hr_user"/>
    </record>

Also if possible go through the following link in which Olivier Dony has explained how actually this user group works .
https://answers.launchpad.net/openobject-addons/+question/142664

Hope this will solve your problem.

Thanks.

Revision history for this message
Ana Juaristi Olalde (ajuaristio) said :
#4

Hi Riken:

Thank you very much for the answer. Now is much more clear with Olivier's explanation on link...

Revision history for this message
Ana Juaristi Olalde (ajuaristio) said :
#5

Thanks Riken Bhorania (Open ERP), that solved my question.