diff --git a/bin/addons/base/base_data.xml b/bin/addons/base/base_data.xml
index 9073be04ed5..db9c548a9af 100644
--- a/bin/addons/base/base_data.xml
+++ b/bin/addons/base/base_data.xml
@@ -12,7 +12,6 @@
child_id
-
Menumenu
@@ -22,13 +21,13 @@
tree
-
+
en_US
- English
- True
+ English
+ True
-
+
Andorra, Principality ofad
diff --git a/bin/addons/base/base_update.xml b/bin/addons/base/base_update.xml
index 756085896bb..94e37dfd8cb 100644
--- a/bin/addons/base/base_update.xml
+++ b/bin/addons/base/base_update.xml
@@ -182,21 +182,32 @@
form
diff --git a/bin/addons/base/ir/ir.xml b/bin/addons/base/ir/ir.xml
index 11358c788ce..8d0cdbca54e 100644
--- a/bin/addons/base/ir/ir.xml
+++ b/bin/addons/base/ir/ir.xml
@@ -714,33 +714,36 @@
form
@@ -1096,6 +1099,7 @@
+
diff --git a/bin/addons/base/ir/ir_model.py b/bin/addons/base/ir/ir_model.py
index 1bb1fea3f27..0a9f71b3510 100644
--- a/bin/addons/base/ir/ir_model.py
+++ b/bin/addons/base/ir/ir_model.py
@@ -369,7 +369,7 @@ class ir_model_data(osv.osv):
def _get_id(self,cr, uid, module, xml_id):
ids = self.search(cr, uid, [('module','=',module),('name','=', xml_id)])
- assert len(ids)==1, '%d reference(s) to %s. You should have one and only one !' % (len(ids),xml_id)
+ assert len(ids)==1, '%d reference(s) to %s.%s. You should have one and only one !' % (len(ids), module, xml_id)
return ids[0]
_get_id = tools.cache()(_get_id)
diff --git a/bin/addons/base/ir/wizard/__init__.py b/bin/addons/base/ir/wizard/__init__.py
index f8806ffa1a5..c3b8f4f51e8 100644
--- a/bin/addons/base/ir/wizard/__init__.py
+++ b/bin/addons/base/ir/wizard/__init__.py
@@ -28,6 +28,6 @@
#
##############################################################################
import wizard_menu
-
+import create_action
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/bin/addons/base/ir/wizard/create_action.py b/bin/addons/base/ir/wizard/create_action.py
new file mode 100644
index 00000000000..804fda2a1ea
--- /dev/null
+++ b/bin/addons/base/ir/wizard/create_action.py
@@ -0,0 +1,92 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Copyright (c) 2004-2008 TINY SPRL. (http://tiny.be) All Rights Reserved.
+#
+# $Id$
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# 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 the Free Software Foundation; either version 2
+# 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.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+##############################################################################
+
+import wizard
+import pooler
+import time
+
+action_type = '''
+'''
+
+action_type_fields = {
+ 'type': {'string':"Start date",'type':'selection','required':True ,'selection':[('ir.actions.report.xml','Open Report')]},
+}
+
+report_action = '''
+'''
+
+report_action_fields = {
+ 'report': {'string':"Select Report",'type':'many2one','relation':'ir.actions.report.xml', 'required':True},
+}
+
+class create_action(wizard.interface):
+
+ def _create_report_action(self, cr, uid, data, context={}):
+ pool = pooler.get_pool(cr.dbname)
+
+ reports = pool.get('ir.actions.report.xml')
+ form = data['form']
+
+ rpt = reports.browse(cr, uid, form['report'])
+
+ action = """
+action = {
+ 'type': 'ir.actions.report.xml',
+ 'model':'%s',
+ 'report_name': '%s',
+ 'ids': context['active_ids'],
+}""" % (rpt.model, rpt.report_name)
+
+ obj = pool.get('ir.actions.server')
+ obj.write(cr, uid, data['ids'], {'code':action})
+
+ return {}
+
+ states = {
+ 'init': {
+ 'actions': [],
+ 'result': {'type':'form', 'arch':action_type,'fields':action_type_fields, 'state':[('step_1','Next'),('end','Close')]}
+ },
+ 'step_1': {
+ 'actions': [],
+ 'result': {'type':'form', 'arch':report_action,'fields':report_action_fields, 'state':[('create','Create'),('end','Close')]}
+ },
+ 'create': {
+ 'actions': [_create_report_action],
+ 'result': {'type':'state', 'state':'end'}
+ },
+ }
+create_action('server.action.create')
+
+
diff --git a/bin/addons/base/ir/wizard/wizard_menu_view.xml b/bin/addons/base/ir/wizard/wizard_menu_view.xml
index b8becc8f9cd..40e84576b68 100644
--- a/bin/addons/base/ir/wizard/wizard_menu_view.xml
+++ b/bin/addons/base/ir/wizard/wizard_menu_view.xml
@@ -28,6 +28,12 @@
-
+
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py
index 9f1035b3528..836a6a3ed7d 100644
--- a/bin/addons/base/module/module.py
+++ b/bin/addons/base/module/module.py
@@ -222,8 +222,8 @@ class module(osv.osv):
_columns = {
'name': fields.char("Name", size=128, readonly=True, required=True),
'category_id': fields.many2one('ir.module.category', 'Category', readonly=True),
- 'shortdesc': fields.char('Short description', size=256, readonly=True),
- 'description': fields.text("Description", readonly=True),
+ 'shortdesc': fields.char('Short description', size=256, readonly=True, translate=True),
+ 'description': fields.text("Description", readonly=True, translate=True),
'author': fields.char("Author", size=128, readonly=True),
'website': fields.char("Website", size=256, readonly=True),
'installed_version': fields.function(_get_installed_version, method=True,
@@ -242,7 +242,7 @@ class module(osv.osv):
('to install','To be installed')
], string='State', readonly=True),
'demo': fields.boolean('Demo data'),
- 'license': fields.selection([('GPL-2', 'GPL-2'),
+ 'license': fields.selection([('GPL-2', 'GPL-2'),('GPL-3', 'GPL-3'),
('Other proprietary', 'Other proprietary')], string='License',
readonly=True),
}
diff --git a/bin/addons/base/res/partner/partner_view.xml b/bin/addons/base/res/partner/partner_view.xml
index aabe4196ca8..a4948f3915b 100644
--- a/bin/addons/base/res/partner/partner_view.xml
+++ b/bin/addons/base/res/partner/partner_view.xml
@@ -168,13 +168,31 @@
- Partners Titles
+ Titlesir.actions.act_windowres.partner.titleform
+
+ Partners Titles
+ ir.actions.act_window
+ res.partner.title
+ form
+ [('domain','=','partner')]
+
+
+
+
+ Contacts Titles
+ ir.actions.act_window
+ res.partner.title
+ form
+ [('domain','=','contact')]
+
+
+