Skip to content

Syncing from upstream OCA/connector (19.0)#456

Merged
bt-admin merged 746 commits into
brain-tec:19.0from
OCA:19.0
May 21, 2026
Merged

Syncing from upstream OCA/connector (19.0)#456
bt-admin merged 746 commits into
brain-tec:19.0from
OCA:19.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

jssuzanne and others added 30 commits May 8, 2026 11:36
Otherwise the auto api docs are not generated
Because the check uses a fast-path for the connector so it does not reach the
cache.
This code is never reached when we check the installation state with the
high-level function is_module_installed for the module 'connector' because it
directly looks for a model in the registry to check the installation state
This column appears often in the where clauses with the old workers.
This adds a retry pattern for queue jobs.
see OCA/connector-magento#26
Sort the retry dict by key ( the retry count ) instead of by value
It avoids to copy and to store the pattern for every job when all jobs of one
function will probably share the same pattern.
So that the last count is repeated indefinitely.
For the following pattern:
{1: 10*60,
 5: 20*60,
 10: 60*60}
The retries 1 to 4 will be postponed 10 minutes later.
The retries 5 to 9 will be postponed 20 minutes later.
The retries 10 to infinite will be postponed 1 hour later.
Does not do particular checks to see if each "step" is a
valid m2o field, relies on the standard and familiar
Odoo recordset errors instead.
The job function, channel and worker fields are too large for a 6 column
layout. Job function and channel make the fields overflow of the form and the
worker fields is wrapped over 3 lines
…cified (to avoid timedelta error when seconds is None) in job.py.
i-vyshnevska and others added 27 commits May 8, 2026 11:37
Currently translated at 100.0% (10 of 10 strings)

Translation: connector-16.0/connector-16.0-connector
Translate-URL: https://translation.odoo-community.org/projects/connector-16-0/connector-16-0-connector/es/
Currently translated at 100.0% (10 of 10 strings)

Translation: connector-17.0/connector-17.0-connector
Translate-URL: https://translation.odoo-community.org/projects/connector-17-0/connector-17-0-connector/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: connector-18.0/connector-18.0-connector
Translate-URL: https://translation.odoo-community.org/projects/connector-18-0/connector-18-0-connector/
Signed-off-by simahawk
@bt-admin bt-admin added the 19.0 label May 21, 2026
@bt-admin bt-admin merged commit 1dfb171 into brain-tec:19.0 May 21, 2026
4 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

❌ Patch coverage is 82.60212% with 230 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.56%. Comparing base (cb9a498) to head (ce58b61).
⚠️ Report is 748 commits behind head on 19.0.

Files with missing lines Patch % Lines
connector/components/synchronizer.py 36.53% 99 Missing ⚠️
connector/components/mapper.py 85.80% 25 Missing and 19 partials ⚠️
connector/components/binder.py 29.41% 36 Missing ⚠️
connector/tests/test_mapper.py 95.52% 24 Missing and 2 partials ⚠️
connector/models/queue_job.py 19.04% 17 Missing ⚠️
connector/components/backend_adapter.py 71.42% 6 Missing ⚠️
connector/components/core.py 92.30% 1 Missing ⚠️
connector/tests/test_listener.py 96.77% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             19.0     #456      +/-   ##
==========================================
+ Coverage   84.41%   84.56%   +0.14%     
==========================================
  Files          24       43      +19     
  Lines        1335     2657    +1322     
  Branches       80      159      +79     
==========================================
+ Hits         1127     2247    +1120     
- Misses        195      375     +180     
- Partials       13       35      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.