Skip to content

[19.0][MIG] purchase#5559

Open
hbrunn wants to merge 2 commits intoOCA:19.0from
hbrunn:19.0-purchase
Open

[19.0][MIG] purchase#5559
hbrunn wants to merge 2 commits intoOCA:19.0from
hbrunn:19.0-purchase

Conversation

@hbrunn
Copy link
Member

@hbrunn hbrunn commented Mar 16, 2026

No description provided.

@hbrunn hbrunn added this to the 19.0 milestone Mar 16, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Mar 16, 2026
30 tasks
@hbrunn
Copy link
Member Author

hbrunn commented Mar 16, 2026

/ocabot migration purchase

@hbrunn
Copy link
Member Author

hbrunn commented Mar 16, 2026

/ocabot migration purchase_stock

Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Choose a reason for hiding this comment

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

Also add sale_purchase_stock.

from openupgradelib import openupgrade

renamed_fields = [
("purchase.order", "purchase_order", "note", "notes"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
("purchase.order", "purchase_order", "note", "notes"),
("purchase.order", "purchase_order", "notes", "note"),

Comment on lines +9 to +10
openupgrade.load_data(env, "purchase_stock", "19.0.1.2/noupdate_changes.xml")
openupgrade.m2o_to_x2m(
Copy link
Contributor

Choose a reason for hiding this comment

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

could you change the order of calling these methods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants