summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-08-13 13:05:01 +0000
committerNicolas Martinelli <nim@odoo.com>2019-08-13 13:05:01 +0000
commit07da48216f20d9c4944d99bb7a7b41c679a5e770 (patch)
treee269f633cd63971f5b1045621fc42082672df89f /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent2f361bec36dff09181b96d140d62c477cdf013a1 (diff)
[FIX] stock_account: coherent field type
In case `move_line_ids.location_id.company_id` or `move_line_ids.location_dest_id.company_id` is not set, the fallback value is `False`. Indeed: ``` >>> True and False or True True ``` This makes `company_from.id` or `company_to.id` crash. We keep the logic but change the condition: ``` >>> False if True else True False ``` opw-2045628 closes odoo/odoo#35695 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions