tags:

views:

24

answers:

1

I have a defined groups and i want to display a button according a group.

<button name="assign_ticket" states= "pending_assignment,draft" groups="group_centricare_care_agents" string="Assign to me"/>

i want this button to be displayed to the group "roup_centricare_care_agents" but when adding groups tag it cause an exception.

P.S.: This button in tree view.

How can i do this??

Thanks in advance

A: 

I think the groups attribute has to have the module name included in the group name. For example, groups="base.group_extended" is used a lot. The module name should be from the module that originally created the group. It might also be that the groups attribute is not supported in tree views or on buttons, I don't know.

Can you post details of what your error says?

Don Kirkby