Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3843 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
dic 17
5602
1
mar 15
9273
1
mar 15
9518
2
dic 23
12695
3
lug 22
23048