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:
parent
b166e3cde0
commit
8f21978321
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue