lp:~s-chazallet/openerp-connector/7.0
- Get this branch:
- bzr branch lp:~s-chazallet/openerp-connector/7.0
Branch merges
Branch information
Recent revisions
- 584. By Guewen Baconnier @ Camptocamp
-
[CHG] multiprocessing: The Jobs workers are affected by the database being closed when they
run in the Cron Worker process.Thus, when OpenERP run in multiprocess, the connector does not start job workers threads.
Instead, the new script ``openerp-connector- worker` ` should be used. It spawns processes
which start the job workers threads themselves.Example of usage:
$ PYTHONPATH=/path/to/ server /path/to/ connector/ openerp- connector- worker \
--config /path/to/configfile \
--workers=2 --logfile=/path/to/ logfile This is not ideal as soon as we have to ensure that OpenERP AND the script are running.
However: it still works normally when OpenERP is not using multiprocessing and this change
allow more control on the worker processes (to implement PG's NOTIFY for instance).More details in the nested history of the revision.
- 583. By Guewen Baconnier @ Camptocamp
-
[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). - 582. By Guewen Baconnier @ Camptocamp
-
[FIX] in some cases the modules installed with 'install_
in_connector' were not loaded, the __module__ needs to be defined before the call to __init__ - 580. By Guewen Baconnier @ Camptocamp
-
[ADD] facility to install a module in the connector, instead of creating a new orm.AbstractModel with the correct name, developers who want to plug a module know just need to call 'install_
in_connector' - 576. By Nicolas Bessi - Camptocamp
-
[ADD] Fix import trouble with Queue in Debian wheezy python 2.7.3
Add new error class
Improve Session.search mapping
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)