summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/wizard/base_module_immediate_install.xml
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2016-09-05 13:44:57 +0200
committerPierre Masereel <pim@odoo.com>2016-09-05 14:28:15 +0200
commit5a939ba4d87aa289182edf98468c0723e2bba700 (patch)
treee361613bb3b2c90e7c376e8531a2d87e867236a1 /odoo/addons/base/module/wizard/base_module_immediate_install.xml
parent827b9988ce52e8d872f848d0833b0cae889f311c (diff)
[FIX] base: error during migration
There is a traceback when we are trying to install module from the list view and clicking on the button 'Module Immediate Install'. This traceback appears because of a server action that has not been migrated during the rev https://github.com/odoo/odoo/commit/d465346f1 To fix this, we've converted the server action in new API.
Diffstat (limited to 'odoo/addons/base/module/wizard/base_module_immediate_install.xml')
-rw-r--r--odoo/addons/base/module/wizard/base_module_immediate_install.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/module/wizard/base_module_immediate_install.xml b/odoo/addons/base/module/wizard/base_module_immediate_install.xml
index 66a962144e6..1b02d218e89 100644
--- a/odoo/addons/base/module/wizard/base_module_immediate_install.xml
+++ b/odoo/addons/base/module/wizard/base_module_immediate_install.xml
@@ -7,7 +7,7 @@
<field name="type">ir.actions.server</field>
<field name="model_id" ref="model_ir_module_module" />
<field name="state">code</field>
- <field name="code">self.button_immediate_install(cr, uid, context.get('active_ids', []), context=context)</field>
+ <field name="code">obj.browse(context.get('active_ids', [])).button_immediate_install()</field>
</record>
<record model="ir.values" id="action_module_immediate_install">