Releases: OCA/connector
Releases · OCA/connector
9.0.1.0.2
9.0.1.0.1
9.0.1.0.0
8.0.3.2.0
- method 'install_in_connector' is now deprecated (#74)
- Add a retry pattern for jobs (#75, #92)
- Use custom connector environments and instantiate them with needed attributes (#108)
- A new default implementation for the binder (#76)
- Translations are now automatically synchronized from Transifex
- Mapper: add modifier to follow m2o relations with dot notation (#94)
- Mapper: add 'changed_by_fields' which indicates which source fields will output data (#73)
- Allow to assign a default channel on @job functions (#71)
- Fix: connector-runner: manages retryable errors (#87)
- Fix: connector-runner: logging error when a capacity is None (#98)
- Fix: connector-runner: shows a wrong job result on retried jobs (#101)
- Fix: add an index on queue_job.worker_id (#89)
- Fix: Tests: common.DB is gone in 8.0 stable (#79)
- Fix: connector-runner: graceful stop mechanism (#69)
- Fix: connector-runner: Wrong arguments position in a log message (#67)
8.0.3.1.0
8.0.3.0.0 - New API
Jobs improvements
- Job arguments can now contain unicode strings (thanks to Stéphane Bidoul) lp:1288187
- List view of the jobs improved
- Jobs now support multicompany (thanks to Laurent Mignon) https://lists.launchpad.net/openerp-connector-community/msg00253.html)
- An action can be assigned to a job. The action is called with a button on the job and could be something like open a form view or an url.
Correction for 7.0.2.1.0
- A user can be blocked because he has no access to the model queue.job when a job has been delayed. The creation of a job is low level and should not be restrained by the accesses of the user. (lp:1276182)
Mapper API refactoring (not backward compatible)
- Add a new optional keyword argument 'description' to the delay() function of a
job. If given, the description is used as name of the queue.job record stored
in OpenERP and displayed in the list of jobs. - Fix: assignment of jobs to workers respect the priority of the jobs (lp:1252681)
- Pass a new parameter to listeners of 'on_record_create' ( vals: field values
of the new record, e.g {'field_name': field_value, ...}) - Replace the list of updated fields passed to listeners of 'on_record_write'
by a dictionary of updated field values e.g {'field_name': field_value, ...} - Add the possibility to use 'Modifiers' functions in the 'direct
mappings' (details in the documentation of the Mapper class) - When a job a delayed, the job's UUID is returned by the delay() function
- Refactoring of mappers. Much details here:
https://code.launchpad.net/~openerp-connector-core-editors/openerp-connector/7.0-connector-mapper-refactor/+merge/194485
Corrections, openerp-connector-worker script
- Developers of addons do no longer need to create an AbstractModel with a _name 'name_of_the_module.installed',
instead, they just have to call connector.connector.install_in_connector() lp:1196859 - Added a script
openerp-connector-worker
to start processes for Jobs Workers when running OpenERP is multiprocessing - Fix: inheritance broken when an orm.Model inherit from an or.AbstractModel. One effect was that the mail.thread features were no longer working (lp:1233355)
- Fix: do no fail to start when OpenERP has access to a not-OpenERP database (lp:1233388)