Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3514 Zobrazení

I have added new value for the payment acquirer provider.

provider = fields.Selection(selection_add=[('test', 'Test')])
Avatar
Zrušit
Autor Nejlepší odpověď

I got the solution with add ondelete option.


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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 16
3302
3
led 25
3551
2
čvn 25
2138
2
čvn 25
6063
0
lis 23
1531