Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3714 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
3434
3
ene 25
7519
1
sept 25
2530
2
jun 25
6739
0
nov 23
1831