Skip to Content
Menu
This question has been flagged
1 Odpoveď
3845 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
3532
3
sep 25
8524
1
sep 25
2658
2
jún 25
6992
0
nov 23
1945