Hello, I would like to hide in sale order the option duplicate under the drop-down More
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Проекты
- MRP
Этот вопрос был отмечен
2
Ответы
4165
Представления
<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
авг. 24
|
1779 | ||
|
|
1
февр. 22
|
5105 | ||
|
|
3
авг. 18
|
5298 | ||
|
|
8
февр. 16
|
11675 | ||
|
|
0
июл. 15
|
4138 |