跳至内容
菜单
此问题已终结
1 回复
2147 查看

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