Odoo Help

Welcome!

This community 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.

1

Modify workflow using inheritance

By
Umashankar Subramani
on 12/31/14, 7:22 AM 811 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.--
4341
| 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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