Add tab domain in url
issue7841 review46691002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add tab domain in URL
|
||||
* Use properties
|
||||
* Allow sao classes to use javascript properties
|
||||
* Improve layout of CSV import/export
|
||||
|
||||
@@ -422,6 +422,7 @@ var Sao = {};
|
||||
attributes.domain = loads(params.domain || '[]');
|
||||
attributes.context = loads(params.context || '{}');
|
||||
attributes.context_model = params.context_model;
|
||||
attributes.tab_domain = loads(params.tab_domain || '[]');
|
||||
} catch (e) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1833,6 +1833,10 @@
|
||||
if (name) {
|
||||
query_string.push(['name', dumps(name)]);
|
||||
}
|
||||
if (this.attributes.tab_domain) {
|
||||
query_string.push([
|
||||
'tab_domain', dumps(this.attributes.tab_domain)]);
|
||||
}
|
||||
var path = ['model', this.model_name];
|
||||
var view_ids = this.views.map(
|
||||
function(v) {return v.view_id;}).concat(this.view_ids);
|
||||
|
||||
Reference in New Issue
Block a user