Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3511 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
3298
3
ene 25
3506
2
jun 25
2118
2
jun 25
6053
0
nov 23
1524