Community: Framework mailing list archives
New API: field names for Many2one and Many2many - shall we postifix with _id?by
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 self.search([('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?
Pedro M. Baeza
Akretion, Raphael Valyi