Hello, I'm using odoo studio to create 4 buttons and 5 stage.
if the buttons clicked, it will change the stage but i want the button is hide is on some stage.
Button 1 : i want hide in stage 1 , stage 3 , stage 4 and stage 5.
i'm using this attribute
button string="Submit" name="189" type="action" invisible="x_studio_stage_id == 1 and x_studio_stage_id == 3 and x_studio_stage_id == 4 and x_studio_stage_id == 5"
after save that is not working. The button will show in every stage.
but if i change this :
button string="Submit" name="189" type="action" invisible="x_studio_stage_id == 1"
it is working and the button hide in stage 1.
Please help if any mistake from my code or rules.