跳至內容
選單
此問題已被標幟
1142 瀏覽次數

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!..

 

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
12月 24
691
1
8月 24
1285
0
7月 23
988
1
3月 23
1421
3
3月 25
1440