Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3136 มุมมอง

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.

อวตาร
ละทิ้ง