تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3255 أدوات العرض

I am modifying the incoming shipment, I want to change the 'receive' from state 'assigned' to a new state 'delivered'

How can I add new state and add function to the state in module?

الصورة الرمزية
إهمال
أفضل إجابة

You can inherit the workflow to your likings. The workflows are allways represented in XML files, like the regular views. You can inherit the workflow from the module and add new records for the transitions and states.

Then, when that it is done, you can inherit the objects' "state" field and add your own state. Make sure that the options are represented in your workflow. For example, if you can go from open-->new state, make sure this transition is represented.

If for some reason you get stuck, just create a new issue.

الصورة الرمزية
إهمال