This is my odoo 16 code. i want to convert this code to Odoo 17. i want to invisible this button using "invisible" property.
here is my xml code..
<button name="action_test" string="Request test"
type="object"
attrs="{'invisible': [('state', '!=', 'test2'), 'invisible':[('test_team_ids',
'!=',False)]}"
class="btn-primary"/>