diff options
| author | Xavier Morel <xmo@odoo.com> | 2017-04-20 13:19:26 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-04-25 15:41:31 +0200 |
| commit | 0550da4d880ad2cd387bf17577de4776d10da867 (patch) | |
| tree | e61ddb4addc24eceab7aaf5e0e50c837b23bef07 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 79519ce40096b64d447c293c241c1ef9c05c99e3 (diff) | |
[FIX] mrp: public/rpc methods not returning any value
XML-RPC can't serialize None, as a result methods callable over RPC
must return something (True, False, an actual value) otherwise an
error is generated when their result is serialized and sent back to
the client. It happens that JSON-RPC has different limitations and can
serialize None, so MRP had multiple button/action methods which could
be called over JSON-RPC but would break when called in XML-RPC for no
reason.
Fix them by returning `True` or result of `write`.
OPW-728844
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
