Hello, I would like to hide in sale order the option duplicate under the drop-down More
此問題已被標幟
2
回覆
5438
瀏覽次數
<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):
.....
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
1
8月 24
|
2951 | ||
|
|
1
2月 22
|
6071 | ||
|
|
3
8月 18
|
6518 | ||
|
|
8
2月 16
|
12958 | ||
|
|
0
7月 15
|
5166 |