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

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
2342
1
8月 24
3034
0
7月 23
2588
1
3月 23
3057
3
3月 25
3675