Skip to Content
Menú
This question has been flagged
1132 Vistes

Hello guys how to filter hr.employee by work_location_id using external API in php

"work_location_id":[1,"First Branch"]

I want to show all employees under the work_location_id 1

$id = $_GET['id'];

$models->execute_kw($db, $uid, $password, 'hr.employee', 'search_read', array(array(array('work_location_id', '=', $id))));

thanks in advance!..

 

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de des. 24
685
1
d’ag. 24
1280
0
de jul. 23
982
1
de març 23
1415
3
de març 25
1432