Add RPC view_get method to View
This allows to extend the inherit mechanism of the view and support inherit for the board view. Also the inherit is now applied to all element found by the xpath. issue11107 issue11108 review389601002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Call view_get for board view
|
||||
* Limit board action domain to active id and ids
|
||||
* Manage creatable attribute of view
|
||||
|
||||
|
||||
+2
-2
@@ -1606,8 +1606,8 @@
|
||||
this.dialogs = [];
|
||||
this.board = null;
|
||||
UIView = new Sao.Model('ir.ui.view');
|
||||
this.view_prm = UIView.execute('read', [[this.view_id], ['arch']],
|
||||
this.context);
|
||||
this.view_prm = UIView.execute(
|
||||
'view_get', [this.view_id], this.context);
|
||||
this.view_prm.done(function(views) {
|
||||
var view, board;
|
||||
view = jQuery(jQuery.parseXML(views[0].arch));
|
||||
|
||||
Reference in New Issue
Block a user