diff options
| author | Simon Lejeune <sle@openerp.com> | 2016-08-30 16:32:19 +0200 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2016-08-30 18:15:34 +0200 |
| commit | 48f370c6ceba483f40e80b53f1be9951ddc57d70 (patch) | |
| tree | 6318be3308feddfec55370cdb08056891f0d3006 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 3041efb655814a8b18f1f55b01971fa71e89f3a2 (diff) | |
[FIX] project_issue: default stage on issue
If you create an issue directly, the key `default_project_id` is not set
in the context. This key is used to compute the default stage of the
created issue. 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 issue, 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/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
