Skip to Content
Menu
This question has been flagged
1 Reply
2511 Views

I have added new value for the payment acquirer provider.

provider = fields.Selection(selection_add=[('test', 'Test')])
Avatar
Discard
Author Best Answer

I got the solution with add ondelete option.


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

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 16
2563
3
Nov 24
930
2
Mar 24
3326
0
Nov 23
372
0
Mar 23
663