1
0
Fork 0
mirror of https://github.com/NaN-tic/sao-old.git synced 2023-12-14 02:12:52 +01:00

Use model name as tab title when opening records from global search

issue5938

review26771002
This commit is contained in:
Sergi Almacellas Abellana 2016-10-08 20:39:00 +02:00
parent b166e3cde0
commit 8f21978321

View file

@ -429,7 +429,8 @@ var Sao = {};
var params = {
'model': item.model,
'res_id': item.record_id,
'mode': ['form', 'tree']
'mode': ['form', 'tree'],
'name': item.model_name
};
Sao.Tab.create(params);
}