summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorYenthe666 <yenthevg@gmail.com>2020-01-06 12:40:28 +0000
committerXavier Morel <xmo@odoo.com>2020-01-06 17:13:10 +0000
commit5329483d35ae6103ffec15ad7481c01638184af0 (patch)
tree98b5d51120431d737a22de5801f6157c167a975b /addons/web/static/src/js/fields/basic_fields.js
parent5f62ec0b5cc54e4f1f270d8ac1ee05752958cade (diff)
[FIX] base: always return non-None from ir.actions.run
`run_action_` hooks don't always return a value, in which case invoking run() over RPC will raise a TypeError (though the call itself should still succeed). Somewhat oddly, "standard" hooks (e.g. in mail) generally do things safely and return a `False`, but the "builtin" hooks (code, object create and object write) tend to return nothing, and thus break when invoked over RPC. Fixes #42268 Closes #42272 closes odoo/odoo#42804 X-original-commit: 9ad01ef242afc9602d4a1470cb321374129f29b9 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions