summaryrefslogtreecommitdiff
path: root/addons/base_module_record/wizard
diff options
context:
space:
mode:
authorYogesh Sakhreliya <ysa@tinyerp.com>2011-01-06 16:50:01 +0530
committerYogesh Sakhreliya <ysa@tinyerp.com>2011-01-06 16:50:01 +0530
commit8697c0f3b254a27043d9698ebde5f992bb25dbf6 (patch)
tree2285087bb437f1be076014293f909982b541e934 /addons/base_module_record/wizard
parent5d8831174421c3965f5427e7dddbb86c04b26193 (diff)
parentaa4594a43e157c17af815d2b72033e899ba940a7 (diff)
Merge with trunk-dev-addons2.
bzr revid: ysa@tinyerp.com-20110106112001-wh6d4y46mpm0bf5h
Diffstat (limited to 'addons/base_module_record/wizard')
-rw-r--r--addons/base_module_record/wizard/base_module_record_data.py8
-rw-r--r--addons/base_module_record/wizard/base_module_record_objects.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/addons/base_module_record/wizard/base_module_record_data.py b/addons/base_module_record/wizard/base_module_record_data.py
index 24cdfd9fe86..fa9c8a6826e 100644
--- a/addons/base_module_record/wizard/base_module_record_data.py
+++ b/addons/base_module_record/wizard/base_module_record_data.py
@@ -6,16 +6,16 @@
# $Id$
#
# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
+# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
+# GNU Affero General Public License for more details.
#
-# You should have received a copy of the GNU General Public License
+# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
@@ -100,7 +100,7 @@ def _record_objects(self, cr, uid, data, context):
for s_id in search_ids:
args=(cr.dbname,uid,obj_name,'copy',s_id,{},context)
mod.recording_data.append(('query',args, {}, s_id))
- return {}
+ return {'type': 'ir.actions.act_window_close'}
def _check(self, cr, uid, data, context):
pool = pooler.get_pool(cr.dbname)
diff --git a/addons/base_module_record/wizard/base_module_record_objects.py b/addons/base_module_record/wizard/base_module_record_objects.py
index 065e69c171b..9b92a751cdc 100644
--- a/addons/base_module_record/wizard/base_module_record_objects.py
+++ b/addons/base_module_record/wizard/base_module_record_objects.py
@@ -90,7 +90,7 @@ def _record_objects(self, cr, uid, data, context):
for s_id in search_ids:
args=(cr.dbname,uid,obj_name,'copy',s_id,{},context)
mod.recording_data.append(('query',args, {}, s_id))
- return {}
+ return {'type': 'ir.actions.act_window_close'}
def inter_call(self,cr,uid,data,context):
res=base_module_save._create_module(self,cr, uid, data, context)