mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_timeline: Wrap fields_get arg into a list
By contract the first argument of the `fields_get` method is supposed to be a list. Before this fix, `web_timeline` would call `fields_get` with a string instead of a list. Fortunately in case only 1 field is being grouped, this worked as Odoo does an `x in y` comparison in its `fields_get` implementation, which does pass in a simple `"project_id" in "project_id"` case. But that call remains invalid and can break when `fields_get` has been tweaked by other modules.
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
* Pedro M. Baeza
|
||||
* Alexandre Díaz
|
||||
* César A. Sánchez
|
||||
|
||||
* `Onestein <https://www.onestein.nl>`_:
|
||||
* Dennis Sluijk <d.sluijk@onestein.nl>
|
||||
* Anjeel Haria
|
||||
|
||||
* Dennis Sluijk <d.sluijk@onestein.nl>
|
||||
* Anjeel Haria
|
||||
|
||||
* `XCG Consulting <https://xcg-consulting.fr>`_:
|
||||
|
||||
* Houzéfa Abbasbhay
|
||||
|
||||
Reference in New Issue
Block a user