My view form displayed directly but I need to show my tree view at first

Hi,

I have created a new view(with its tree o form) xml file. But when clicked on my menu it access directly to my form view instead the tree view, I want show my list rows at first. The form open with the required fields marked with red border, it looks like it trying to submit on apperance.

I don’t know if this is because a error on my views code or I missed some configuration on my menu.

Threre is a way to force it to show the list view at first?

You must ordered the ir.action.act_window.view linked to your ir.action.act_winddow using the sequence attribute such that the tree view comes first.

Hi, thanks man, it was that.

My tree view sequence was at 30 and my form at 10.