Merge PR #2713 into 16.0

Signed-off-by pedrobaeza
pull/2776/head
OCA-git-bot 2024-04-02 14:12:18 +00:00
commit d0742b7391
2 changed files with 9 additions and 3 deletions

View File

@ -10,6 +10,12 @@
* Pedro M. Baeza * Pedro M. Baeza
* Alexandre Díaz * Alexandre Díaz
* César A. Sánchez * César A. Sánchez
* `Onestein <https://www.onestein.nl>`_: * `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

View File

@ -399,7 +399,7 @@ odoo.define("web_timeline.TimelineRenderer", function (require) {
await this._rpc({ await this._rpc({
model: this.modelName, model: this.modelName,
method: "fields_get", method: "fields_get",
args: [grouped_field], args: [[grouped_field]],
context: this.getSession().user_context, context: this.getSession().user_context,
}).then(async (fields) => { }).then(async (fields) => {
if (fields[grouped_field].type === "many2many") { if (fields[grouped_field].type === "many2many") {