diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index cbd02175536..bc18aa72f4b 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -297,7 +297,7 @@
-
+
diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml
index 8c9a7eb4087..931b01ce7e1 100644
--- a/addons/account/project/project_view.xml
+++ b/addons/account/project/project_view.xml
@@ -393,74 +393,74 @@
id="account_analytic_journal_print" parent="account.next_id_40"/>
#
- # Statistics
+ # Statistics [where is this object in py file ?]
#
-
- report.hr.timesheet.invoice.journal.form
- report.hr.timesheet.invoice.journal
- form
-
-
-
-
-
-
-
- report.hr.timesheet.invoice.journal.tree
- report.hr.timesheet.invoice.journal
- tree
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- report.hr.timesheet.invoice.journal.graph
- report.hr.timesheet.invoice.journal
- graph
-
-
-
-
-
-
-
-
-
-
-
-
- report.hr.timesheet.invoice.journal.search
- report.hr.timesheet.invoice.journal
- search
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- """ % (separator_string, journal_string, period_string, cancel_string, open_string)
-
- view = etree.fromstring(view.encode('utf8'))
- xarch, xfields = self._view_look_dom_arch(cr, uid, view, view_id, context=context)
- view = xarch
- res.update({
- 'arch': view
- })
+
+
+
+
+
+
+
+
+
+
+ """ % (separator_string, journal_string, period_string, cancel_string, open_string)
+
+ view = etree.fromstring(view.encode('utf8'))
+ xarch, xfields = self._view_look_dom_arch(cr, uid, view, view_id, context=context)
+ view = xarch
+ res.update({
+ 'arch': view
+ })
return res
def action_open_window(self, cr, uid, ids, context=None):
diff --git a/addons/account/wizard/account_report_common.py b/addons/account/wizard/account_report_common.py
index b7d143eb740..fa3c195cfb7 100644
--- a/addons/account/wizard/account_report_common.py
+++ b/addons/account/wizard/account_report_common.py
@@ -67,6 +67,7 @@ class account_common_report(osv.osv_memory):
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
+ if context is None:context = {}
res = super(account_common_report, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
if context.get('active_model', False) == 'account.account' and view_id:
doc = etree.XML(res['arch'])
diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml
index c8f019e685b..dacfa5c2946 100644
--- a/addons/crm/crm_view.xml
+++ b/addons/crm/crm_view.xml
@@ -317,11 +317,6 @@
-
-
-
-
-
diff --git a/addons/mail/res_users_view.xml b/addons/mail/res_users_view.xml
index 7df155b13c0..7cb98129a3c 100644
--- a/addons/mail/res_users_view.xml
+++ b/addons/mail/res_users_view.xml
@@ -9,7 +9,7 @@
-
+
@@ -23,7 +23,7 @@
-
+
diff --git a/addons/project/project.py b/addons/project/project.py
index 54e80e79b52..429672d3269 100644
--- a/addons/project/project.py
+++ b/addons/project/project.py
@@ -818,7 +818,7 @@ class task(base_stage, osv.osv):
#
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
users_obj = self.pool.get('res.users')
-
+ if context is None: context = {}
# read uom as admin to avoid access rights issues, e.g. for portal/share users,
# this should be safe (no context passed to avoid side-effects)
obj_tm = users_obj.browse(cr, 1, uid, context=context).company_id.project_time_mode_id
diff --git a/addons/project/report/project_cumulative.xml b/addons/project/report/project_cumulative.xml
index 3c04d36feb6..c85b1ba28e5 100644
--- a/addons/project/report/project_cumulative.xml
+++ b/addons/project/report/project_cumulative.xml
@@ -15,7 +15,6 @@
-
@@ -32,18 +31,21 @@
-
- project.task.history.burndown.graph
- project.task.history.burndown
- graph
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -92,18 +94,18 @@
parent="project_report_task" />
-
- Burndown Chart
- project.task.history.cumulative
- form
- graph,tree
-
-
- {"search_default_open":1, "search_default_this_month": 1, "search_default_project_id": project_id}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/project/res_partner_view.xml b/addons/project/res_partner_view.xml
index 341b086b978..2a648791056 100644
--- a/addons/project/res_partner_view.xml
+++ b/addons/project/res_partner_view.xml
@@ -9,7 +9,7 @@
form
-
+
False