From 1a0b281fd49ca7f5fb7805f09a93b5e06fca9f5d Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Thu, 6 Oct 2016 09:59:46 +0200 Subject: [PATCH] Use current record id when opening an action from a button issue5935 review28871002 --- src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index c389045d47..b216d6e164 100644 --- a/src/screen.js +++ b/src/screen.js @@ -1464,7 +1464,7 @@ else if (action) { Sao.Action.execute(action, { model: this.model_name, - id: record.id, + id: this.current_record.id, ids: ids }, null, this.context); }