diff options
| author | Kirti Choudhary <kic@odoo.com> | 2017-06-14 14:42:58 +0530 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2017-09-05 13:21:58 +0200 |
| commit | 36a2bfb9cfafc1642b65b783f6a63c0dbda11dd0 (patch) | |
| tree | 5219a21da7168d9b8df6e2e5bbfbf604d5960994 /addons/project/static/src/js/project.js | |
| parent | 41e7a1374fcd0165f4c8f003a0d288966f07e9dd (diff) | |
[IMP] *: add and improve kanban views for mobile
This commit improves readability in kanban views.
The default view in mobile is kanban and many of them
needed to be improved.
task-33438
closes 17853
Diffstat (limited to 'addons/project/static/src/js/project.js')
| -rw-r--r-- | addons/project/static/src/js/project.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/static/src/js/project.js b/addons/project/static/src/js/project.js index 95e1cc953a1..a13c451f44e 100644 --- a/addons/project/static/src/js/project.js +++ b/addons/project/static/src/js/project.js @@ -18,7 +18,7 @@ KanbanRecord.include({ * @private */ _openRecord: function () { - if (this.modelName === 'project.project') { + if (this.modelName === 'project.project' && this.$(".o_project_kanban_boxes a").length) { this.$('.o_project_kanban_boxes a').first().click(); } else { this._super.apply(this, arguments); |
