diff options
| author | Deep Bundela <dbu@odoo.com> | 2015-12-14 16:00:47 +0530 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-03-21 13:46:44 +0100 |
| commit | eb04aa1e395d347c474181e90f8c8eded1d17ca3 (patch) | |
| tree | d69d41c2c4c27a72c86f9159940bd1f98ba0b512 /openerp/addons/base/module/wizard/base_module_immediate_install.xml | |
| parent | 348fa4f9581711a185da6c766169d3820a39dd5c (diff) | |
[MIG] base: migrate base/ir to the new API
Diffstat (limited to 'openerp/addons/base/module/wizard/base_module_immediate_install.xml')
| -rw-r--r-- | openerp/addons/base/module/wizard/base_module_immediate_install.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/addons/base/module/wizard/base_module_immediate_install.xml b/openerp/addons/base/module/wizard/base_module_immediate_install.xml index 02b75a1e4c3..8a43727a402 100644 --- a/openerp/addons/base/module/wizard/base_module_immediate_install.xml +++ b/openerp/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">self._model.button_immediate_install(self._cr, self._uid, self.env.context.get('active_ids', []), context=self.env.context)</field> </record> <record model="ir.values" id="action_module_immediate_install"> |
