Skip to Content
Menu
This question has been flagged
3682 Views

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

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 17
5505
1
Mar 15
9187
1
Mar 15
9383
2
Dec 23
12507
3
Jul 22
22813