Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4143 Widoki

hi am trying to read data from odoo using php xmlrpc and i don't know which are the arguments (parameters ) that report.pos.order takes 

my example :

<?php

$url = 'http://262930-10-0-6fa705.runbot13.odoo.com';

$db = '262930-10-0-6fa705-all';

$username = 'admin';

$password = 'admin';

require_once('ripcord/ripcord.php');

$common = ripcord::client($url.'/xmlrpc/2/common');

$uid = $common->authenticate($db, $username, $password, array());

$models = ripcord::client("$url/xmlrpc/2/object");

$result = $models->execute_kw(

    $db,

    $uid,

    $password,

    'report.pos.order',

    'read',

    array( )

          );

echo('RESULT:<br/>');

foreach ($results as $result) {

    echo $result.'<br/>';

}

?>

Awatar
Odrzuć
Autor

the problem is search criteria and i solved it

Powiązane posty Odpowiedzi Widoki Czynność
0
gru 17
3063
0
sty 16
6981
0
wrz 24
1388
1
sie 24
9518
0
wrz 23
1311