Hi,
i call method validate invoice with php webservice,
<?php
require_once('konek.php');
require_once('ripcord/ripcord.php');
$common = ripcord::client("$url/xmlrpc/2/common");
$common->version();
$uid = $common->authenticate($db, $username, $password, array());
$models = ripcord::client("$url/xmlrpc/2/object");
$id_invoice = 20; #id invoice
$data = $models->execute_kw($db, $uid, $password,'account.invoice', 'action_invoice_open', [$id_invoice]);
echo json_encode($data);
?>
process is success to validate invoice, but respond is TypeError: cannot marshal None unless allow_none is enabled.
how to solve this problem?