跳至内容
菜单
此问题已终结
3819 查看

When we add workflow for model then its gives vals without state value. its only updated in workflow actions.
1. oncreate

def create(self, cr, user, vals, context=None):

my requirement is need to check state values for my business logic. but in workflow actions not gives values.

2. workflow actions

def test_finished(self, cr, uid, ids):

then how to pass the value of state in method parameters

形象
丢弃
相关帖文 回复 查看 活动
0
12月 17
5592
1
3月 15
9268
1
3月 15
9502
2
12月 23
12679
3
7月 22
23024