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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký