Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

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


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 18
3743
1
čvc 15
8089
3
kvě 21
4100
0
bře 18
4210
2
led 17
7599