if(parent && parent.controller_children) {
parent.controller_children.push(this);
}
+ // backward compatibility
+ this.parent = this.controller_parent;
+ this.children = this.controller_children;
// Transform on_* method into openerp.base.callbacks
for (var name in this) {
* Process an action
* Supported actions: act_window
*/
+ action_window: function() {
+ },
+ action_window_close: function() {
+ },
+ action_server: function() {
+ },
+ action_url: function() {
+ },
+ action_report: function() {
+ },
+ action_client: function() {
+ },
do_action: function(action, on_closed) {
var self = this;
action.flags = _.extend({
}
});
+// TODO Will move to action Manager
openerp.base.ViewManagerAction = openerp.base.ViewManager.extend({
init: function(parent, element_id, action) {
this.session = parent.session;