Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3203 Tampilan

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?

Avatar
Buang
Jawaban Terbai

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.

Avatar
Buang