Skip to Content
Menu
This question has been flagged
1 Odpoveď
3549 Zobrazenia

I have added new value for the payment acquirer provider.

provider = fields.Selection(selection_add=[('test', 'Test')])
Avatar
Zrušiť
Autor Best Answer

I got the solution with add ondelete option.


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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
júl 16
3313
3
jan 25
3765
2
jún 25
2173
2
jún 25
6124
0
nov 23
1553