odoo/odoo — pull request #2725 by tremlin (2014-09-26 10:02:19+00:00)
Title: when proceeding to the next row of a editable list, also advance the dat...

This merge request attempts to fix the following bug. Unfortunately I am not aware of a situation where it can be reproduced with a standard installation, so I will give a generic outline.

1. Let M be a model with a many2one-field F2, referencing some other Model M2. Further let M2 have a many2one-field F, referencing M.
2. Consider an inline-editable list view of M that includes F2 and has a domain on F2 like [('F', '=', id)].
3. Edit some row in the inline-editable list view of M: change the value of F2 and hit Enter to save the line. The list view editor will jump to the next line. If F2 is the only editable field, the cursor will automatically be at the field of this line.
4. Observe that the name search still uses the domain of the previous line, i.e., the suggestions in the drop box are always the same as in the previous line.