Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3601 Prikazi

I have added new value for the payment acquirer provider.

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

I got the solution with add ondelete option.


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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
jul. 16
3358
3
jan. 25
4789
2
jun. 25
2312
2
jun. 25
6289
0
nov. 23
1622