Skip to Content
Menu
This question has been flagged
5485 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
dec 24
4533
1
aug 24
5803
0
júl 23
4940
1
mar 23
5383
0
sep 25
86