Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
3496 Переглядів

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

Аватар
Відмінити
Найкраща відповідь
<form duplicate="0">

</form>

by putting duplicate="0" in form view we can hide the duplicate in drop-down
Аватар
Відмінити
Найкраща відповідь

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):
.....
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 24
1001
1
лют. 22
4436
3
серп. 18
4668
8
лют. 16
10855
0
лип. 15
3615