Add the context model name in the screen context
issue7117 review41841002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add the context model name in the screen context
|
||||
* Add sum of records on list view
|
||||
* Add shortcuts to Date and DateTime widgets
|
||||
* Use limit to expand tree
|
||||
|
||||
+5
-1
@@ -900,7 +900,11 @@
|
||||
}.bind(this));
|
||||
},
|
||||
context: function() {
|
||||
return this.group.context();
|
||||
var context = this.group.context();
|
||||
if ( this.context_screen ){
|
||||
context.context_model = this.context_screen.model_name;
|
||||
}
|
||||
return context;
|
||||
},
|
||||
set_group: function(group) {
|
||||
var fields = {};
|
||||
|
||||
Reference in New Issue
Block a user