Hey all, how can i create or find document to send Sign template email via xmlrpc PHP
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Hii,
<?php
require_once('ripcord/ripcord.php');
$url = 'john.doe@example.com',
'name' => 'John Doe'
]]]
]]
);
$models->execute_kw($db, $uid, $password,
'sign.request', 'action_sent',
[[$sign_request_id]]
);
echo "Sign request sent successfully with ID: $sign_request_id\n";
ripcord.php File Code:
<?php
define('RIPCORD_XMLRPC', 1);
function ripcord::client($url) {
return new ripcord_client($url);
}
class ripcord_client {
private $url;
public function __construct($url) {
$this->url = $url;
}
public function __call($method, $params) {
$request = xmlrpc_encode_request($method, $params);
$context = stream_context_create([
'http' => [
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
]
]);
$file = file_get_contents($this->url, false, $context);
if ($file === false) {
throw new Exception("Unable to connect to XML-RPC server.");
}
return xmlrpc_decode($file);
}
}
?>
i hope it is use full
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
0
ก.ค. 25
|
296 | ||
|
1
ต.ค. 24
|
1524 | ||
|
1
ส.ค. 23
|
2095 | ||
|
0
มิ.ย. 23
|
1826 | ||
module of online contract signatures
แก้ไขแล้ว
|
|
2
ธ.ค. 23
|
3655 |