[FIX] Repair dependent-document catalog and actions #87

Open
moeardent wants to merge 0 commits from fix/dependent-document-ci-11242 into dev
Owner

Summary

  • Change class: defect remediation
  • Promotion target: dev
  • Trace ref: MOE-2 / WP-ODOO-COMMUNITY-001
  • Related verification: TeamCity build 11242

Scope

Included

  • Include inactive immutable rule versions in catalog existence checks.
  • Return fixed module-owned action metadata to authorized accounting users.
  • Align cross-company fixture with automatic company catalog seeding.
  • Extend repeated-seed and ordinary-user action regression checks.

Out of scope

  • No schema, integration, deployment, or unrelated source changes.

Verification Evidence

  • git diff --check
  • Python compilation
  • Ruff on changed files
  • Full ci/validate_addons.py
  • Independent reviewer traced all seven build errors to these causes and approved the bounded approach.

Reviewer Focus

  • active_test=False is limited to catalog existence checks.
  • sudo() is limited to static module-owned ir.actions.act_window metadata after business authorization.

Promotion and Recovery

  • Promote dev -> test -> main, then rerun all eight TeamCity gates on exact main revision.
  • Rollback is branch/revert of this two-file change; no data migration is introduced.

Closure Checklist

  • scope is described and bounded
  • verification evidence is linked
  • reviewer focus areas are called out
  • promotion target is explicit
  • rollback shape is stated
## Summary - Change class: defect remediation - Promotion target: dev - Trace ref: MOE-2 / WP-ODOO-COMMUNITY-001 - Related verification: TeamCity build 11242 ## Scope ### Included - Include inactive immutable rule versions in catalog existence checks. - Return fixed module-owned action metadata to authorized accounting users. - Align cross-company fixture with automatic company catalog seeding. - Extend repeated-seed and ordinary-user action regression checks. ### Out of scope - No schema, integration, deployment, or unrelated source changes. ## Verification Evidence - `git diff --check` - Python compilation - Ruff on changed files - Full `ci/validate_addons.py` - Independent reviewer traced all seven build errors to these causes and approved the bounded approach. ## Reviewer Focus - `active_test=False` is limited to catalog existence checks. - `sudo()` is limited to static module-owned `ir.actions.act_window` metadata after business authorization. ## Promotion and Recovery - Promote dev -> test -> main, then rerun all eight TeamCity gates on exact main revision. - Rollback is branch/revert of this two-file change; no data migration is introduced. ## Closure Checklist - [x] scope is described and bounded - [x] verification evidence is linked - [x] reviewer focus areas are called out - [x] promotion target is explicit - [x] rollback shape is stated <!-- migrated-from: pull-request Moebiusol/odoo-custom-addons #25 -->
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/dependent-document-ci-11242:fix/dependent-document-ci-11242
git switch fix/dependent-document-ci-11242
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: moebiusol/odoo-custom-addons#87
No description provided.