Technical mailing list archives

New API: field names for Many2one and Many2many - shall we postifix with _id?

Maxim Litnitskiy
- 09/21/2014 10:46:55
Hi guys!
In old api we had to begin any operation with search method which returned ids of records.
So we named the fields accordingly: user_id, user_ids.
But new api does return recordset, so is there any reason to postfix with _id(s)?
Now[('search', '=', 'critaria')]) return not list with ids but objects!
So using _id(s) can be misleading.
New api now is like Django and they do not use _id(s).
What do You thing?