Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4374 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
dec. 24
3557
1
aug. 24
4676
0
jul. 23
3818
1
mar. 23
4364
3
mar. 25
5520