Overslaan naar inhoud
Menu
Deze vraag is gerapporteerd
1756 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
dec. 24
1098
1
aug. 24
1730
0
jul. 23
1321
1
mrt. 23
1868
3
mrt. 25
2158