When we wanted to add data to google spreadsheet in crm or accounting => it raised an error Error because it couldn't find a propriety of an undefined object. Now we're getting the query element from searchModel and not model. closes odoo/odoo#59251 Taskid: 2337046 X-original-commit: 8d26094b020db0245620e9898e02486acf3674bf Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>