İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3540 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt
<form duplicate="0">

</form>

by putting duplicate="0" in form view we can hide the duplicate in drop-down
Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ağu 24
1041
1
Şub 22
4482
3
Ağu 18
4717
8
Şub 16
10883
0
Tem 15
3645