コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2217 ビュー

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