Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3184 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ