跳至內容
選單
此問題已被標幟
1 回覆
3114 瀏覽次數

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?

最佳答案

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.

頭像
捨棄