Skip to Content
Menu
This question has been flagged
2010 Views

this is my code : 


$partners = $models->execute_kw($db, $uid, $password,

'hr.attendance.month', 'search_read',

array(

array(

),

),array(

'fields' => array('year','month')));

var_dump($partners);

echo json_encode(array("employee"=>$partners ), JSON_PRETTY_PRINT);

show me this :

how to fix it !?

{
    "employee": {
        "faultCode": 2,
        "faultString": ""
    }
}

Avatar
Discard