~openerp-connector-core-editors/openerp-connector/7.0

Viewing all changes in revision 583.

  • Committer: Guewen Baconnier
  • Date: 2013-09-02 14:32:03 UTC
  • mfrom: (582.1.1 openerp-connector)
  • Revision ID: guewen.baconnier@camptocamp.com-20130902143203-b99de1pc5lr3p6gt
[FIX] remove the 'unregister' method on the Backend and replace it by a replacement mechanism:

When a ConnectorUnit is registered, it can specifies another ConnectorUnit to replace, using the keyword argument 'replacing' in the decorator.
When we search the ConnectorUnit to use, we follow the replacing classes and use the one which match with the conditions (the openerp module being installed being one of them).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: