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

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 17
5557
1
thg 3 15
9248
1
thg 3 15
9450
2
thg 12 23
12615
3
thg 7 22
22936