Skip to content

[MIGRATION] account_move_line_stock_info: Migrate to Odoo 19.0#2549

Open
collinskipkorir wants to merge 8 commits intoOCA:18.0from
collinskipkorir:19.0-mig-account_move_line_stock_info
Open

[MIGRATION] account_move_line_stock_info: Migrate to Odoo 19.0#2549
collinskipkorir wants to merge 8 commits intoOCA:18.0from
collinskipkorir:19.0-mig-account_move_line_stock_info

Conversation

@collinskipkorir
Copy link
Copy Markdown

  • Update manifest version to 19.0.1.0.0
  • Remove incorrect @api.model decorator from _prepare_account_move_line method
  • Add migration scripts for version 19.0.1.0
  • Update Environment initialization in post-migration script
  • Verify v19 compatibility for all fields, views, and security rules

malaba6 added 2 commits March 31, 2026 10:31
- Update manifest version to 19.0.1.0.0
- Remove incorrect @api.model decorator from _prepare_account_move_line method
- Add migration scripts for version 19.0.1.0
- Update Environment initialization in post-migration script
- Verify v19 compatibility for all fields, views, and security rules
…g in journal entries

- Add Many2one field linking account.move.line to stock.move
- Provides backward compatibility for Odoo 19.0 migration
- Add migration scripts for version 19.0.1.0
- Includes views and security rules for stock-account integration
@collinskipkorir collinskipkorir force-pushed the 19.0-mig-account_move_line_stock_info branch from 362b339 to e187125 Compare March 31, 2026 08:05
- Sort imports alphabetically in migration scripts
- Add newlines at end of migration files
@collinskipkorir collinskipkorir force-pushed the 19.0-mig-account_move_line_stock_info branch from d4e2d3a to c6f82ba Compare March 31, 2026 08:23
malaba6 added 3 commits March 31, 2026 11:33
- Revert valid-odoo-versions back to 18.0 only
- Revert pre-commit branch back to 18.0
- Change manifest version from 19.0.1.0.0 to 18.0.1.0.0 (matches 18.0 branch)
- Remove migrations folder as this is new module, not a migration
- Update name to 'Account Move Line Stock Info' for clarity
@collinskipkorir
Copy link
Copy Markdown
Author

collinskipkorir commented Mar 31, 2026

@ThiagoMForgeFlow kindly review this and recommend accordingly thanks .

- Keep only odoo==18.0.* for 18.0 branch
- Remove duplicate odoo==19.0.* requirement that was causing pip conflict
@collinskipkorir collinskipkorir marked this pull request as draft March 31, 2026 09:01
- Replace complex integration test with simple field existence checks
- Verify stock_move_id field on account.move.line
- Verify account_move_line_ids field on stock.move
- Avoid accounting setup complexity that was causing test failure
Copy link
Copy Markdown
Author

@collinskipkorir collinskipkorir left a comment

Choose a reason for hiding this comment

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

@JordiBForgeFlow seeking review on this

Copy link
Copy Markdown
Author

@collinskipkorir collinskipkorir left a comment

Choose a reason for hiding this comment

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

@JordiBForgeFlow seeking review on this

@collinskipkorir collinskipkorir marked this pull request as ready for review March 31, 2026 09:17
Copy link
Copy Markdown

@fanha99 fanha99 left a comment

Choose a reason for hiding this comment

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

I think we should keep the name as it is. "Account Move Line Stock Info"

Account Move Line Stock Info
============================
=====================================
Account Move Line Migration (Odoo 19)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think we should keep the name as it is. "Account Move Line Stock Info"

{
"name": "Account Move Line Stock Info",
"version": "18.0.1.0.0",
"name": "Account Move Line Migration (Odoo 19)",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think we should keep the name as it is. "Account Move Line Stock Info"

<body>
<div class="document" id="account-move-line-stock-info">
<h1 class="title">Account Move Line Stock Info</h1>
<div class="document" id="account-move-line-migration-odoo-19">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think we should keep the name as it is. "Account Move Line Stock Info"

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Account Move Line Stock Info</title>
<title>Account Move Line Migration (Odoo 19)</title>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think we should keep the name as it is. "Account Move Line Stock Info"

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.

3 participants