Skip to content

[t158610] Add module base_import_async version 18.0#460

Merged
BT-dmoreno merged 77 commits intobrain-tec:18.0.project_CA_772from
xaviedoanhduy:18.0-mig-base_import_async
Mar 27, 2025
Merged

[t158610] Add module base_import_async version 18.0#460
BT-dmoreno merged 77 commits intobrain-tec:18.0.project_CA_772from
xaviedoanhduy:18.0-mig-base_import_async

Conversation

@BT-dmoreno
Copy link
Copy Markdown

@BT-dmoreno BT-dmoreno commented Mar 27, 2025

Links to Odoo:
Affected Modules:
ModuleExt
base_import_async.xml, .md, .po, .html, .png, .py, .js, .rst, .pot, .toml

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
guewen and others added 27 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/
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 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 (eb58253) to head (ca4ebd2).
Report is 179 commits behind head on 18.0.project_CA_772.

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.project_CA_772     #460      +/-   ##
=======================================================
+ Coverage                78.58%   78.85%   +0.26%     
=======================================================
  Files                       58       80      +22     
  Lines                     3946     4516     +570     
  Branches                   371      409      +38     
=======================================================
+ Hits                      3101     3561     +460     
- Misses                     794      902     +108     
- Partials                    51       53       +2     

☔ 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.

@BT-dmoreno BT-dmoreno merged commit 3a765b1 into brain-tec:18.0.project_CA_772 Mar 27, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.