attrs="{'invisible':['|',('filed_name_1','=',False),('fieled_name_2','=',False)]}" for OR
attrs="{'invisible':['&',('filed_name_1','=',False),('fieled_name_2','=',False)]}" for AND
<field name="name" attrs="{'invisible': [('condition1', '=', False)], 'required': [('condition2', '=', True)]}"/><!-- as default it works as AND without any additional '|' or '&'-->
You can use more than two conditions, then you should use '|','|','&' depending on conditions order and what you want to achieve.
for example attrs="{'invisible': [('product_lines_id','!=','Computer'),('product_lines_id','!=','Server')],'required':['|',('product_lines_id','=','Computer'),('product_lines_id','=','Server')]}"