首页 > 代码库 > Module Immediate Install

Module Immediate Install

立即安装所选模块
C:\goe7\source\openerp\addons\base\module\module.py
  1. def button_immediate_install(self, cr, uid, ids, context=None):
  2. """ Installs the selected module(s) immediately and fully,
  3. returns the next res.config action to execute
  4. :param ids: identifiers of the modules to install
  5. :returns: next res.config item to execute
  6. :rtype: dict[str, object]
  7. """
  8. return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)




来自为知笔记(Wiz)