Odoo Help

0

0
1 Risposta
0
Jos De Graeve Belgio
22/05/14, 08:42

Hello,

You should check the value of cr.fetchall() before returning:

res = cr.fetchall()

if not res:

    res=false

return res

The xmlrpc spec does not allow to send "None" as a value, that is why you get "Fault cannot marshal None", so you need to send False instead.

Regards,

Jos

Fai una domanda
Writer
744
Eric
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now