İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
3522 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
1022
1
Şub 22
4465
3
Ağu 18
4695
8
Şub 16
10870
0
Tem 15
3634