Skip to content

Releases: OCA/connector

9.0.1.0.2

03 Mar 19:42
Compare
Choose a tag to compare
  • Fix: adapt to upstream api change to obtain db connection (#179)

9.0.1.0.1

03 Mar 12:48
Compare
Choose a tag to compare
  • Enabled the JobRunner by default, with a default channels configuration of root:1
  • Removed the old workers
  • Removed the broken dbfilter support (#58)
  • Cleaned the methods that have been deprecated in version 3.x

9.0.1.0.0

03 Mar 12:45
Compare
Choose a tag to compare
Merge pull request #169 from acsone/9.0-from-8.0

9.0 from 8.0

8.0.3.2.0

10 Sep 14:29
Compare
Choose a tag to compare
  • 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

15 May 08:11
Compare
Choose a tag to compare
  • New jobs runner (details on #52)
  • French documentation (#57)
  • Add ConnectorSession.from_env() (#66)
  • Fix: missing indexes on jobs (#65)

8.0.3.0.0 - New API

02 Apr 09:31
Compare
Choose a tag to compare

Jobs improvements

22 Aug 09:24
Compare
Choose a tag to compare
  • 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

22 Aug 09:26
Compare
Choose a tag to compare
  • 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)

22 Aug 09:28
Compare
Choose a tag to compare
  • 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

22 Aug 09:29
Compare
Choose a tag to compare
  • 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)