Skip to content

[20.0][MIG] purchase_analytic_required - #986

Draft
kh-badep wants to merge 7 commits into
OCA:20.0from
BADEP:20.0-mig-purchase_analytic_required
Draft

kh-badep wants to merge 7 commits into
OCA:20.0from
BADEP:20.0-mig-purchase_analytic_required

Conversation

@kh-badep

@kh-badep kh-badep commented Oct 16, 2026 •

Copy link
Copy Markdown

This PR migrates purchase_analytic_required to Odoo 20.0.

The module makes the analytic distribution required on purchase orders.

Dependency

This module depends on purchase_analytic, whose Odoo 20.0 migration is proposed in OCA/account-analytic#985.

Tests

  • Added a regression test for the required analytic distribution and successful save when a distribution is provided.
  • Local automated module tests: 1 passed, 0 failures, 0 errors.
  • Manual functional validation: approved by the tester.

CI status

OCA test-with-Odoo and test-with-OCB currently fail during dependency installation because the purchase_analytic 20.0 package is not published while PR #985 is unmerged. The CI test suites were not reached.

The tester noted that the required-field design is questionable, while confirming that it works as implemented.

AI disclosure

  • Migration and first testing pass: Claude Opus 5.5.
  • Manual testing and PR preparation: Me + Copilot Auto.

@OCA-git-bot OCA-git-bot added mod:purchase_analytic_required Module purchase_analytic_required series:20.0 labels Oct 16, 2026
@kh-badep kh-badep changed the title [MIG] purchase_analytic_required: Migration to 20.0 [20.0][MIG] purchase_analytic_required Oct 17, 2026
@kh-badep
kh-badep marked this pull request as draft October 18, 2026 21:07
@kh-badep
kh-badep force-pushed the 20.0-mig-purchase_analytic_required branch from d7e6a06 to cf5574d Compare October 18, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:purchase_analytic_required Module purchase_analytic_required series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants