Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1873 มุมมอง

Hi, 

I try to update prices on quotation with XMLRPC, that work but pdate_prices return an empty response. 

The fault is : 

TypeError: cannot marshal None unless allow_none is enabled"

I use Laminas XMLRPC php packages  : 

return $this->_em->createQueryBuilder()
->setMethode('update_prices')
->setRessources('sale.order')
->setParams([$quotationId])
->setBody([
"context" => [
"search_default_my_quotation" => $quotationId,
"allowed_compagny_ids" => [1]
],

])
->getQuery()
->getResult();

How can I get true or false response?

Notice we use sass version of Odoo 14


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 18
3739
1
ก.ค. 15
8067
3
พ.ค. 21
4093
0
มี.ค. 18
4204
2
ม.ค. 17
7590