Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1881 Представления

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
3740
1
июл. 15
8070
3
мая 21
4095
0
мар. 18
4206
2
янв. 17
7593