Skip to content
Snippets Groups Projects
  1. Jun 11, 2014
  2. Jun 10, 2014
  3. Jun 07, 2014
    • Salvatore Trimarchi's avatar
      Update l10n_hn Author Information · 15648ab9
      Salvatore Trimarchi authored
      Author Information
      
      Salvatore Josue Trimarchi Pinto
      salvatore@trigluu.com
      http://trigluu.com
      15648ab9
    • Christophe Simonis's avatar
      [ADD] module install/uninstall hooks. · 4105b5f0
      Christophe Simonis authored
      Since 4ec71c74, migration scripts
      are not executed at module install anymore.
      As this behavior was missused as "init" scripts (see [1]), this
      commit re-add this possiblity via hooks.
      
      There are 3 hooks that can be declared in the manifest file:
       - pre_init_hook: called before module installation
       - post_init_hook: called after module installation
       - uninstall_hook: called before module uninstallation
      
      Like the "post_load" manifest option, the values for these hooks
      must be a string containing the name of a method available at the
      module root.
      The signatures of these functions are:
       - (cr) for pre_init_hook
       - (cr, registry) for post_init_hook and uninstall_hook
      
      [1] https://bugs.launchpad.net/openobject-server/+bug/1314680
      4105b5f0
  4. Jun 06, 2014
Loading