Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 18
3753
1
lip 15
8115
3
maj 21
4116
0
mar 18
4222
2
sty 17
7606