Zum Inhalt springen
Menü
Diese Frage wurde gekennzeichnet
1779 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Dez. 24
1115
1
Aug. 24
1746
0
Juli 23
1339
1
März 23
1892
3
März 25
2182