Skip to content

Syncing from upstream OCA/queue (18.0)#464

Merged
bt-admin merged 80 commits intobrain-tec:18.0from
OCA:18.0
Apr 16, 2025
Merged

Syncing from upstream OCA/queue (18.0)#464
bt-admin merged 80 commits intobrain-tec:18.0from
OCA:18.0

Conversation

@bt-admin
Copy link
Copy Markdown

bt_gitbot

sbidoul and others added 30 commits October 28, 2024 15:24
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
In the options of an import. This option is too technical to be displayed on
the frontend, but the wizard can be called with the option.

It is useful when we have to run several imports one after the other and the
'other' has dependencies on the 'one'.
Shortcut methods session.create(), session.write(), session.browse(),
session.search() should now be directly called on session.env['model']
api decorator only recognize 'res_id' or 'id' as keyword args
francesco-ooops and others added 28 commits October 28, 2024 15:24
Currently translated at 8.3% (1 of 12 strings)

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

Translation: queue-16.0/queue-16.0-base_import_async
Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_import_async/
In migration to 16.0, input class `oe_import_queue` was replaced by
another one when it has to be added instead, causing the module not
to work. In Javascript, input is searched by this class and it's not
found, so value cannot be recovered and import is made
synchronously.
…ting the attachment.

Some default values might be present in context depending on the action we came from
when clicking on 'import' button. These default values are not intended to
be default values for the ir.attachment record.
In some cases they cause an error because a field with the same name exists on
ir.attachment, as for e.g. the 'default_type'='opportunity' value
present in the standard crm.lead action context.
Currently translated at 100.0% (9 of 9 strings)

Translation: queue-16.0/queue-16.0-base_import_async
Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_import_async/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

Translation: queue-16.0/queue-16.0-base_import_async
Translate-URL: https://translation.odoo-community.org/projects/queue-16-0/queue-16-0-base_import_async/it/
Signed-off-by simahawk
@bt-admin bt-admin merged commit 75b04f3 into brain-tec:18.0 Apr 16, 2025
4 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 16, 2025

Codecov Report

Attention: Patch coverage is 51.79856% with 67 lines in your changes missing coverage. Please review.

Project coverage is 78.85%. Comparing base (23dddc5) to head (a8a17a0).
Report is 97 commits behind head on 18.0.

Files with missing lines Patch % Lines
base_import_async/models/base_import_import.py 34.65% 66 Missing ⚠️
base_import_async/models/queue_job.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             18.0     #464      +/-   ##
==========================================
- Coverage   79.71%   78.85%   -0.86%     
==========================================
  Files          74       80       +6     
  Lines        4377     4516     +139     
  Branches      398      409      +11     
==========================================
+ Hits         3489     3561      +72     
- Misses        835      902      +67     
  Partials       53       53              

☔ 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.