Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
3503 Visualizações

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

Avatar
Cancelar
Melhor resposta
<form duplicate="0">

</form>

by putting duplicate="0" in form view we can hide the duplicate in drop-down
Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
ago. 24
1003
1
fev. 22
4438
3
ago. 18
4670
8
fev. 16
10858
0
jul. 15
3615