Hello, I would like to hide in sale order the option duplicate under the drop-down More
Tämä kysymys on merkitty
2
Vastaukset
5432
Näkymät
<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):
.....
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
|
1
elok. 24
|
2949 | ||
|
Sale Order Line Form Popup Odoo 14
Ratkaistu
|
|
1
helmik. 22
|
6069 | |
|
|
3
elok. 18
|
6514 | ||
|
|
8
helmik. 16
|
12953 | ||
|
|
0
heinäk. 15
|
5162 |