Odoo version: 10, but may affect others
I'm having an issue with a custom module that given a sufficiently long form, pressing Create and Edit to create an object pops up a modal dialog, but it shows the middle of the form first (i.e. the scrollbar is about half way down) by default.
In case it has any bearing, the many2one field is embedded in a custom one2many list within the Sale Order Line form (which itself pops up from the one2many order_line field on sale.order).
Does anyone know how to make sure it shows the top of the form first?