Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3522 Vistas

I have added new value for the payment acquirer provider.

provider = fields.Selection(selection_add=[('test', 'Test')])
Avatar
Descartar
Autor Mejor respuesta

I got the solution with add ondelete option.


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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
jul 16
3304
3
ene 25
3606
2
jun 25
2149
2
jun 25
6074
0
nov 23
1533