-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web: kanban: many2one label after drop
Have a kanban view grouped on a many2one and displaying that many2one with a widget in the record cards. Drag a record from one column to another: a crash occurs. This happens because the record update is done with a value of the form [id, undefined] (that is with no defined label) and nothing is done in the kanban model to fetch that label, making impossible to render the many2one after the update. We fix that problem by using the known group display name as label for the dropped record. Part-of: odoo#102925
- Loading branch information
1 parent
27e5805
commit 2a6fe37
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters