Hello selvamarcadu

define a role
        <record model="res.roles" id="HR_holidays">
&nbsp; &nbsp;&nbsp; &nbsp;<field name="name">Manager</field>
&nbsp; &nbsp;</record>

a new record of role in the workflow.xml like i explain here

and assing for  transion u want to apply  with this way

        <record model="workflow.transition" id="t2">
&nbsp; &nbsp; &nbsp; &nbsp; <field name="act_from" ref="act_confirm2" />
&nbsp; &nbsp; &nbsp; &nbsp; <field name="act_to" ref="act_validate" />
&nbsp; &nbsp; &nbsp; &nbsp; <field name="signal">validate</field>
&nbsp; &nbsp; &nbsp; &nbsp; <field name="role_id" ref="HR_holidays"/>
&nbsp; &nbsp; </record>

thanks
pritesh




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=60750#60750

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to