require_once 'ripcord.php';
// Odoo server information
$url = 'http://your_odoo_server_url';
$db = 'your_database';
$username = 'your_username';
$password = 'your_password';
// Common service
$common = ripcord::client("$url/xmlrpc/2/common");
// Authenticate and get user ID
$uid = $common->authenticate($db, $username, $password, array());
// Models service
$models = ripcord::client("$url/xmlrpc/2/object");
// Search for account.move records
$search_domain = array(
array(
// Add your search criteria here
array('field_name', '=', 'field_value'),
// Additional conditions can be added with 'OR' or 'AND'
// array('another_field', '=', 'another_value'),
)
);
// Execute search
$account_move_ids = $models->execute_kw($db, $uid, $password, 'account.move', 'search', $search_domain);
// Now $account_move_ids contains the IDs of the matching account.move records
thanks