diff --git a/addons/account/account.py b/addons/account/account.py
index d501f35cbc7..f0c16d8586c 100644
--- a/addons/account/account.py
+++ b/addons/account/account.py
@@ -3031,6 +3031,7 @@ class wizard_multi_charts_accounts(osv.osv_memory):
return res
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(wizard_multi_charts_accounts, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
cmp_select = []
acc_template_obj = self.pool.get('account.chart.template')
diff --git a/addons/account/account_installer.xml b/addons/account/account_installer.xml
index 8c2865ea9b9..060a8a63d17 100644
--- a/addons/account/account_installer.xml
+++ b/addons/account/account_installer.xml
@@ -13,9 +13,11 @@
Configure Your Chart of Accounts
-
- The default Chart of Accounts is matching your country selection. If no certified Chart of Accounts exists for your specified country, a generic one can be installed and will be selected by default.
-
+
+
+
+
+
Configure
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/installer.py b/addons/account/installer.py
index dc072787f96..6cf52f58f6c 100644
--- a/addons/account/installer.py
+++ b/addons/account/installer.py
@@ -94,6 +94,7 @@ class account_installer(osv.osv_memory):
raise osv.except_osv(_('No unconfigured company !'), _("There are currently no company without chart of account. The wizard will therefore not be executed."))
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_installer, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar,submenu=False)
cmp_select = []
# display in the widget selection only the companies that haven't been configured yet
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/account_check_writing/account_voucher.py b/addons/account_check_writing/account_voucher.py
index 33fe09e783d..aa0a29d7845 100644
--- a/addons/account_check_writing/account_voucher.py
+++ b/addons/account_check_writing/account_voucher.py
@@ -86,6 +86,7 @@ class account_voucher(osv.osv):
Add domain 'allow_check_writting = True' on journal_id field and remove 'widget = selection' on the same
field because the dynamic domain is not allowed on such widget
"""
+ if not context: context = {}
res = super(account_voucher, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)
doc = etree.XML(res['arch'])
nodes = doc.xpath("//field[@name='journal_id']")
diff --git a/addons/account_payment/wizard/account_payment_order.py b/addons/account_payment/wizard/account_payment_order.py
index 613b049a412..713784798fc 100644
--- a/addons/account_payment/wizard/account_payment_order.py
+++ b/addons/account_payment/wizard/account_payment_order.py
@@ -46,6 +46,7 @@ class payment_order_create(osv.osv_memory):
}
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False):
+ if not context: context = {}
res = super(payment_order_create, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=False)
if context and 'line_ids' in context:
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/idea/idea_view.xml b/addons/idea/idea_view.xml
index 0e9fb40020f..652bd464d86 100644
--- a/addons/idea/idea_view.xml
+++ b/addons/idea/idea_view.xml
@@ -100,20 +100,20 @@
-
+
-
- idea.stat.form
- idea.stat
- form
-
-