summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRuchir Shukla <ruchir@bizzappdev.com>2018-01-16 15:23:08 +0530
committerJosse Colpaert <jco@odoo.com>2018-06-26 15:07:23 +0200
commitef444da57a0e5b3a8426a6fac8cef3f6d856b148 (patch)
treec8daf00ecc12e68e2167239bb3f9c193f8dedd93 /addons/web/static/src/js/views/basic/basic_model.js
parentea7bddcc3e99f6514efef90fcb26e5ce6f7e427e (diff)
[FIX] stock: do_new_transfer callable in xml-rpc
When returning None, the XML-RPC can trigger an error, making the api unusable in certain cases. So, we added return True and if the context is None we use an empty dict, so if the context is returned in a dict, it is not returning None either. Tests were adapted too. Closes #22264
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions