Use current record id when opening an action from a button

issue5935

review28871002
This commit is contained in:
Sergi Almacellas Abellana committed 2016-10-06 09:59:46 +02:00
1 parent c9b9abcd79
commit 1a0b281fd4
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}