Kanban in One2Many fields is not shown if it is not the initial mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Web Team |
Bug Description
In an one2many-form-field with mode set to "list,kanban" we get the list view displayed first as expected. When switching to kanban mode, the view does not appear. When we go to the next record in the top-level form the kanban is displayed correctly.
I located the problem in instance.
The handler function checks if the new mode equals "list" and reloads the view if so. This should also be done in the case of "kanban".
- if (n_mode === "list") {
+ if (n_mode === "list" || n_mode === 'kanban') {
}
Hello Daniel,
First of all, Thanks for your contribution.
But this features is removed in 7.0 and trunk. So we will consider it to future road-maps.
Thanks for the reporting!