Active first tab in case current tab is hidden
1- In draft internal shipments, I have those tabs in the form view:
Moves | Catalogue | Notes
Active tab is "Moves".
2- When click to "Wait" button, the "Moves" tab is hidden and show two news tabs (outgoing and incoming moves).
Current form view have those tabs:
Outgoing Moves | Incoming Moves | Catalogue | Notes
But active tab change to "Catalogue" when first tab is "Outgoing Moves" in form view.
Similar to #12553 (closed), the active tab should be the first tab in the form view.