summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-04-20 13:19:26 +0200
committerNicolas Martinelli <nim@odoo.com>2017-04-25 15:41:31 +0200
commit0550da4d880ad2cd387bf17577de4776d10da867 (patch)
treee61ddb4addc24eceab7aaf5e0e50c837b23bef07 /addons/web/static/src/js/views/basic/basic_controller.js
parent79519ce40096b64d447c293c241c1ef9c05c99e3 (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/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions