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

I have added new value for the payment acquirer provider.

provider = fields.Selection(selection_add=[('test', 'Test')])
Avatar
Abbandona
Autore Risposta migliore

I got the solution with add ondelete option.


provider = fields.Selection ( selection_add = [( 'test' , 'TEST' )], ondelete = { 'test' : 'set default' })

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 16
3313
3
gen 25
3766
2
giu 25
2173
2
giu 25
6124
0
nov 23
1554