Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to make workflow transitions in OpenERP/Odoo ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 679
    Comment on it

    To make workflow transitions in OpenERP/Odoo ?
    If you want to make workflow transitions in OpenERP(Odoo) follow the below mentioned code and paste it in your workflow_xml file:

    <record id="trans_idea_draft_confirmed" model="workflow.transition"> 
    <field name="act_from" ref="act_draft"/> 
    <field name="act_to" ref="act_confirmed"/> 
    <field name="signal">button_confirm</field> 
    <field name="role_id" ref="idea_manager"/> 
    <field name="condition">1 == 1</field> 
     </record 
    

    Note-> act_from, act_to identifiers of the source and destination activities
    signal ->name of a button of type workflow that triggers this transition
    role_id ->reference to the role that user must have to trigger the transition
    condition ->Python expression that must evaluate to True for transition to be triggered

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: