Odoo Help

1

Modify workflow using inheritance

By
Umashankar Subramani
on 12/31/14, 7:22 AM 935 views

I am new to odoo, i need to modify the sales order workflow. How it can be done.... plz any one give some suggestion 

 

 

You are going to need a lot more clarification if anyone here wants to give you some solid advice. What is "modifying without modifying"? And, are you aware that inherited workflow actions always impact the workflow, even though you did not edit the original one?

Ludo - Neobis
on 12/31/14, 8:15 AM
0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4434
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 12/31/14, 8:11 AM

Umashankar,

Modifying workflow is simply like you modify any of your xml records if we talk about your transitions and activities.

You should refer to the xml entities by sale.XMLID.

An example:

<record id="act_double_wait" model="workflow.activity">
            <field name="wkf_id" ref="purchase.purchase_order"/>
            <field name="name">WaitForApproval</field>
            <field name="kind">dummy</field>
        </record>

 <record id="trans_double_app_conf" model="workflow.transition">
            <field name="act_from" ref="act_double_wait"/>
            <field name="act_to" ref="purchase.act_router"/>
        </record>

You may even follow purchase_double_validation mdulel.

Thanks.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 12/31/14, 7:22 AM
Seen: 935 times
Last updated: 3/16/15, 8:10 AM