Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2150 Представления

Hi,

Please how to make a required field only if another field is filled in odoo 10,

Regards,

Аватар
Отменить
Лучший ответ

Hi,

You can add a attribute for the field in XML like this,

attrs="{'required': [('field_name', '!=', False)]}"

Thanks

Аватар
Отменить
Автор

Thanks i throught that's this work just with boolean