Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
3491 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď
<form duplicate="0">

</form>

by putting duplicate="0" in form view we can hide the duplicate in drop-down
Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 24
997
1
úno 22
4434
3
srp 18
4661
8
úno 16
10853
0
čvc 15
3614