I want to make that if user is set the partner is not required and if partner is set the user is not required.
I posted below the code of my form fields:
The partner_id field has attrs="{'required': [('user_id', '=', False)]}" and the user_id attrs="{'required': [('partner_id', '=', False)]}"
Can some one tell me if this can even work and how?