summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-10-19 17:16:25 +0200
committerqsm-odoo <qsm@odoo.com>2017-10-19 18:25:42 +0200
commite1f9afebcaa2363bc6feee8112b12c02ee6db769 (patch)
treefede068036bd1c688c3f0655908c74d678b5ab18 /addons/web/static/src/js/fields
parentf5df4fbca1d6dce4f98cdb6b27bee3fb843febf4 (diff)
[FIX] base, website_theme_install: review todo action order
Since https://github.com/odoo/odoo/commit/d1fc62df0b850c56360c1e5391c69eb807d0fe46: When several ir.actions.todo are created, only the last one is considered and the first are marked as done. Thus, there are never multiple "open" todos at the same time (while before this, only the first todo was done and the other ones were done on subsequent module installations, which makes no sense). The new system however broke stuff. Indeed, when installing the eCommerce, we expect to land on the "Choose a Theme" page (if website was not already installed). This was not the case anymore, as the last todo in that installation is "Redirect to /shop". To fix the problem, the system is changed to not consider the "last todo" but "the todo with highest priority, or the last one if same priorities". By making the "Choose a theme" todo high priority, this solves the problem. A better system would be to make todos depend on each other... but that would be a task for master.
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions