summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2016-08-30 15:45:15 +0200
committerSimon Lejeune <sle@openerp.com>2016-08-30 15:45:15 +0200
commit7d3f9ac9b944c616202ff10b2cf2d8ddf8d41871 (patch)
treeddc93c3a3199e6b4d1b49aacc816018dcb71ba31 /addons/web/static/lib/jquery.mjs.nestedSortable
parent5100aa81135635432630d3d919da97afa49da08a (diff)
[FIX] project: default stage on task
If you create a task directly, the key `default_project_id` is not set in the context. This key is used to compute the default stage of the created task. It is done by creating a domain. Unfortunately, the domain is always filled with `[('fold', '=', False)]` and thus it always returns a result that makes no sense when `default_project_id` is not set. Worse, if you actually create the task, the found stage that was not in your project is now a part of it. The fix is to return no result if the `default_project_id` is not set in the context.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions