Commit Graph

15 Commits

Author SHA1 Message Date
Xavier Morel 43579e17c2 [imp] batched modules update in module installer
bzr revid: xmo@tinyerp.com-20100110183146-oe6d0k0a977s2hc0
2010-01-10 19:31:46 +01:00
Xavier Morel fa1a8fe6be [imp] Split modules selection from actual installation, add handling of hooks and additionals
* Hooks are functions executed when a given module has been selected for installation
  - Named ``_if_%(module_name)s``
  - Provided cr, uid, ids and context
  - If they return something, it must be an iterable of supplementary addons to install
* Additionals are module sets to install when a given set of 1..n module(s) is selected for installation
  - ``_install_if`` class member
  - dictionary of {tuple: iterable}, the tuple is the set of modules to check for,
    the iterable is the set of modules to install if the condition modules are all
    present

bzr revid: xmo@tinyerp.com-20100106115454-r8qrooqkfvy5kg41
2010-01-06 12:54:54 +01:00
Xavier Morel bf462bb02b [imp] installer config object
bzr revid: xmo@tinyerp.com-20100106075330-40m5n6j1nko5p2mk
2010-01-06 08:53:30 +01:00
Xavier Morel bbb9d6bab1 [imp] improve deprecation warning message
bzr revid: xmo@tinyerp.com-20091217141935-f6rdzkkjsmcu234s
2009-12-17 15:19:35 +01:00
Xavier Morel 2151d2808a [fix] add default note if we have new-style config items following old-style ones
bzr revid: xmo@tinyerp.com-20091217141914-dc0i3l1j7b92oe01
2009-12-17 15:19:14 +01:00
Xavier Morel a3a7bb50bc [imp] add compatibility ir.actions.configuration.wizard for plugins which have yet to migrate to res.config
bzr revid: xmo@tinyerp.com-20091216155941-vfzrtkpr0yestddb
2009-12-16 16:59:41 +01:00
Xavier Morel d93aa372fd [imp] when configuration is done, switch to current user menu view instead of closing current window… maybe?
bzr revid: xmo@tinyerp.com-20091216133335-a33n1jobttujuq53
2009-12-16 14:33:35 +01:00
Xavier Morel a636a7ab0a [imp] implement a complete next() method and use it in action_next and action_skip, make it part of res.config's official API
bzr revid: xmo@tinyerp.com-20091210080650-1gp80tjpepz4wee2
2009-12-10 09:06:50 +01:00
Xavier Morel ec6ac388a0 [IMP] bit of docstring
bzr revid: xmo@tinyerp.com-20091210073413-cr4ixklvwahkhy7y
2009-12-10 08:34:13 +01:00
Xavier Morel b2a428c701 [IMP] provide hook methods for extensions orthogonal to the event handlers themselves
bzr revid: xmo@tinyerp.com-20091210073213-4wpiu60tr6ap8lco
2009-12-10 08:32:13 +01:00
Xavier Morel 06a49e6401 [IMP] add default implementation for action_skip
bzr revid: xmo@tinyerp.com-20091208131947-klb0njdri0nf95v2
2009-12-08 14:19:47 +01:00
Xavier Morel 2d43ae33ff [REM] Remove unused fields in the ir.actions.todo model
bzr revid: xmo@tinyerp.com-20091207101740-9qllhd695oxskls2
2009-12-07 11:17:40 +01:00
Xavier Morel de37555dd9 [ADD] integrate progress bars into configuration dialogs
bzr revid: xmo@tinyerp.com-20091204121452-3eibzrgingec5xd9
2009-12-04 13:14:52 +01:00
Xavier Morel 0e4962391e [IMP] rename res.configurable to res.config: inheriting from it makes an object a config item
bzr revid: xmo@tinyerp.com-20091204105821-7133uv5p1b7n4euz
2009-12-04 11:58:21 +01:00
Xavier Morel 97013e9aae [IMP] modify configurator for inheritability, move it to res_config, make res_config_view inherit from res.configurable
bzr revid: xmo@tinyerp.com-20091203151122-md545zxjs7rlyddk
2009-12-03 16:11:22 +01:00