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

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 257
    Comment on it

    Workflow transitions can be restricted to a specific group. Users outside the group can not trigger the transition.For example code is like below..

    <?xml version="1.0" encoding="utf-8"?>
    <openerp>
        <data>
            <record model="workflow" id="wkf&#95;academy">
                    <field name="name">Academy.wkf</field>
                    <field name="osv">session</field>
                    <field name="on&#95;create">True</field>
            </record>
    
     Workflow Activities
    
             <record model="workflow.activity" id="act&#95;draft">
                <field name="wkf&#95;id" ref="wkf&#95;academy">
                <field name="flow&#95;start">True</field>
                <field name="name">Draft</field>
                <field name="kind">function</field>
                <field name="action">stu&#95;draft()</field>
            </field></record>
    
    </data></openerp>
    

 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: