跳至內容
選單
此問題已被標幟
1915 瀏覽次數

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


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
4月 18
3766
1
7月 15
8122
3
5月 21
4124
0
3月 18
4234
2
1月 17
7622