Skip to content

[19.0][MIG] mrp#5558

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

[19.0][MIG] mrp#5558
hbrunn wants to merge 2 commits intoOCA:19.0from
hbrunn:19.0-mrp

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
@hbrunn
Copy link
Member Author

hbrunn commented Mar 16, 2026

/ocabot migration mrp

@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 mrp_account

Create production groups from procurement groups
"""
link_column = openupgrade.get_legacy_name("procurement_group_id")
env.cr.execute(
Copy link
Contributor

Choose a reason for hiding this comment

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

Not telling you to change it, but FYI: add_columns() exists...

# DONE: see mrp.production#production_group_id

mrp / mrp.routing.workcenter / cost_mode (selection) : NEW selection_keys: ['actual', 'estimated'], hasdefault: default
mrp / mrp.routing.workcenter / note (html) : DEL
Copy link
Contributor

Choose a reason for hiding this comment

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

why not save this field (with copy)?

mrp / mrp.workcenter.capacity / product_uom_id (many2one) : not related anymore
mrp / mrp.workcenter.capacity / product_uom_id (many2one) : now required

# NOTHING TO DO: was related to product_id.uom_id and product_id was required
Copy link
Contributor

Choose a reason for hiding this comment

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

then, shouldn't this be filled with product_id.uom_id or mrp.workorder.product_uom_id?

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