Repository navigation
[20.0][MIG] purchase_request: Migration to 20.0 - #29
Merged
Merged
Conversation
Available types: 'task#', 't#' (case insensitive) Examples:
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 20.0 #29 +/- ##
=======================================
Coverage ? 93.09%
=======================================
Files ? 26
Lines ? 1563
Branches ? 166
=======================================
Hits ? 1455
Misses ? 53
Partials ? 55 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
alan196
force-pushed
the
20.0-mig-purchase_request
branch
from
October 10, 2026 14:56
9e5b280 to
730d59c
Compare
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/
Currently translated at 100.0% (233 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/it/
Currently translated at 22.7% (53 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
dict.get("key", []) only falls back to [] when the key is absent; Odoo
stores empty relational fields as False, so the default is bypassed and
iterating over False raises TypeError. Use `or []` instead, matching the
pattern used by purchase_stock core for the same field.
Fixes OCA#2985
Currently translated at 22.7% (53 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
Currently translated at 22.7% (53 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
Currently translated at 24.0% (56 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
Currently translated at 100.0% (233 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
Currently translated at 100.0% (233 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
The attribute-string-redundant checker now detects redundant labels on fields whose names end in _id or _ids since pylint-odoo#559 so updating pylint raises new positives.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/
Currently translated at 100.0% (233 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/it/
Currently translated at 100.0% (233 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/sl/
Currently translated at 27.0% (63 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/de/
Currently translated at 27.4% (64 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/de/
Currently translated at 28.7% (67 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/de/
Currently translated at 34.7% (81 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/de/
Currently translated at 100.0% (233 of 233 strings) Translation: purchase-workflow-19.0/purchase-workflow-19.0-purchase_request Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request/it/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alan196
force-pushed
the
20.0-mig-purchase_request
branch
from
October 10, 2026 15:14
730d59c to
be149b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirror of the upstream migration OCA#3212 (head
9e5b280fe, author @achrafelaffas). The upstream commits are kept untouched so this branch stays identical to the OCA PR.Dependencies: only
purchase_stock(no extra OCA modules needed).How it was tested (Odoo 20.0, local database with demo data):
-i purchase_request --test-enable --test-tags /purchase_request: 36 tests,0 failed, 0 error(s), noERROR/CRITICALlines and no deprecation warnings in the log.Notes for reviewers:
[MIG]and[IMP] pre-commit auto fixescommits carry aCo-Authored-By: Claude ...trailer added by the upstream author; it is left as-is here because this is a mirror. It should be raised on the OCA PR by a human reviewer (OCA AI policy requiresAssisted-by:instead).Assisted-by: Claude Fable 5.1