Skip to content

[20.0][MIG] purchase_request: Migration to 20.0 - #29

Merged
alan196 merged 266 commits into
Jarsa:20.0from
Jarsa-dev:20.0-mig-purchase_request
Oct 10, 2026
Merged

alan196 merged 266 commits into
Jarsa:20.0from
Jarsa-dev:20.0-mig-purchase_request

Conversation

@alan196

@alan196 alan196 commented Oct 10, 2026

Copy link
Copy Markdown

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), no ERROR/CRITICAL lines and no deprecation warnings in the log.
  • pre-commit with the 20.0 repo configuration over all module files: everything passed, no file modified.

Notes for reviewers:

  • The upstream [MIG] and [IMP] pre-commit auto fixes commits carry a Co-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 requires Assisted-by: instead).

Assisted-by: Claude Fable 5.1

@jarsabot

Copy link
Copy Markdown
    **WARNING**: Could not link to Odoo task. Record ID not found in the title of the MR, supported formats:
{ record type }#{ number }

Available types: 'task#', 't#' (case insensitive)

Examples:

  • task#123

  • i#123

@codecov-commenter

codecov-commenter commented Oct 10, 2026 •

Copy link
Copy Markdown

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

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (20.0@e04e607). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

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

@alan196
alan196 force-pushed the 20.0-mig-purchase_request branch from 9e5b280 to 730d59c Compare October 10, 2026 14:56
mav-adhoc and others added 28 commits October 10, 2026 09:13
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
alan196 force-pushed the 20.0-mig-purchase_request branch from 730d59c to be149b8 Compare October 10, 2026 15:14
@alan196
alan196 merged commit be149b8 into Jarsa:20.0 Oct 10, 2026
4 checks passed
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.