Skip to content

Fork Sync Branch 18.0 - #224

Merged
btl-bot merged 80 commits into
BTLzdravtech:18.0from
OCA:18.0
Oct 1, 2026
Merged

btl-bot merged 80 commits into
BTLzdravtech:18.0from
OCA:18.0

Conversation

@btl-bot

@btl-bot btl-bot commented Oct 1, 2026

Copy link
Copy Markdown

No description provided.

EBII and others added 30 commits May 11, 2026 09:59
Moreover this generate a random issue.

If you want to reproduce this random issue you can make it not random
by forcing the processing of the todo. You can take the following code

diff --git a/odoo/api.py b/odoo/api.py
index 413a6b8..bb63ba8 100644
--- a/odoo/api.py
+++ b/odoo/api.py
@@ -937,6 +937,11 @@ class Environment(Mapping):
             The field is such that none of its dependencies must be
recomputed.
         """
         field = min(self.all.todo, key=self.registry.field_sequence)
+        if str(field) == 'shopinvader.category.index_id':
+            if len(self.all.todo) > 1:
+                for f in self.all.todo:
+                    if str(f) != 'shopinvader.category.index_id':
+                        field = f
         return field, self.all.todo[field][0]

     def check_cache(self):
… product should be able to do it even if the product is online
… safely allows the triggeer of field computation by concrete models
Indeed the implementation of write on one2many (see odoo/fields.py:2235)
call the method create/write in mode norecompute
This mean that the field is_urls_sync_required is not computed after
the call to super of write/create of the binding but later during the
create/write of the main record.

To solve the issue we sync the url after calling the method
"_recompute_done".
This also simplify the code \o/
- add generic method
- split the method to be able to customize easily the url key with the possibility to enjoy all the work that process record per lang and so enjoying the prefetching
- fix onchange issue by skipping compute when calling from an onchange
Computation was broken when the parent binding was archived.
Moreover this commit eases overrides of depends for the computation.
clementmbr and others added 26 commits September 15, 2026 15:57
…ons + add email to criterias, it can be usefull to differenciate condition adding +xxx on the recipient email
Signed-off-by sebastienbeau
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-18.0/server-tools-18.0-autovacuum_message_attachment
Translate-URL: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-autovacuum_message_attachment/
Signed-off-by sebastienbeau
Signed-off-by legalsylvain

@sireko sireko left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot
btl-bot merged commit ba3338a into BTLzdravtech:18.0 Oct 1, 2026
3 of 4 checks passed
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 90.48991% with 33 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
base_url/models/abstract_url.py 79.04% 21 Missing and 1 partial ⚠️
attachment_queue_email/models/attachment_queue.py 88.63% 2 Missing and 3 partials ⚠️
attachment_queue_email/models/fetchmail_server.py 60.00% 4 Missing ⚠️
base_url/models/url_url.py 93.33% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Files with missing lines Coverage Δ
attachment_queue_email/__init__.py 100.00% <100.00%> (ø)
attachment_queue_email/models/__init__.py 100.00% <100.00%> (ø)
...eue_email/models/fetchmail_attachment_condition.py 100.00% <100.00%> (ø)
attachment_queue_email/tests/__init__.py 100.00% <100.00%> (ø)
...t_queue_email/tests/test_attachment_queue_email.py 100.00% <100.00%> (ø)
base_url/__init__.py 100.00% <100.00%> (ø)
base_url/models/__init__.py 100.00% <100.00%> (ø)
base_url/tests/__init__.py 100.00% <100.00%> (ø)
base_url/tests/models.py 100.00% <100.00%> (ø)
base_url/tests/test_abstract_url.py 100.00% <100.00%> (ø)
... and 4 more

... and 1 file with indirect coverage changes

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