Hello, I would like to hide in sale order the option duplicate under the drop-down More
Denna fråga har flaggats
2
Svar
5439
Vyer
<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):
.....
Njuter du av diskussionen? Läs inte bara, delta också!
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
|
1
aug. 24
|
2951 | ||
|
|
1
feb. 22
|
6071 | ||
|
|
3
aug. 18
|
6518 | ||
|
|
8
feb. 16
|
12958 | ||
|
|
0
juli 15
|
5167 |