Skip to Content
Menu
This question has been flagged
1 Odpoveď
3648 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
3385
3
jan 25
5621
2
jún 25
2409
2
jún 25
6484
0
nov 23
1730