Skip to Content
Menu
This question has been flagged
1733 Views

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
Discard
Related Posts Replies Views Activity
0
Dec 24
1081
1
Aug 24
1707
0
Jul 23
1296
1
Mar 23
1848
3
Mar 25
2138