Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3381 Vistas

Hello, I would like to hide in sale order the option duplicate under the drop-down More

Avatar
Descartar
Mejor respuesta
<form duplicate="0">

</form>

by putting duplicate="0" in form view we can hide the duplicate in drop-down
Avatar
Descartar
Mejor respuesta

I am not sure about hiding the duplicate option but, You can restrict the duplication by overriding copy( ) function.

@api.multi
def copy(self, default=None):
.....
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 24
908
1
feb 22
4344
3
ago 18
4577
8
feb 16
10753
0
jul 15
3539