Hello, I would like to hide in sale order the option duplicate under the drop-down More
This question has been flagged
2
Replies
5427
Views
<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):
.....
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
1
Aug 24
|
2947 | ||
|
|
1
Feb 22
|
6067 | ||
|
|
3
Aug 18
|
6512 | ||
|
|
8
Feb 16
|
12951 | ||
|
|
0
Jul 15
|
5161 |