[FIX] orm: fix search() with sorting by inherited field Also did some cleanup and renaming of variables for readability.
[FIX] orm: fix search() with sorting by inherited field
Also did some cleanup and renaming of variables for readability.

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server