Skip to content
Snippets Groups Projects
Commit 5a939ba4 authored by Pierre Masereel's avatar Pierre Masereel
Browse files

[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.
parent 827b9988
No related branches found
No related tags found
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment