Skip to content

[16.0] [MIG] sale_order_restrict_copy_archived_product: Migration to 16.0#4150

Open
fredericgrall wants to merge 6 commits intoOCA:16.0from
apikcloud:16.0-mig-sale_order_restrict_copy_archived_product
Open

[16.0] [MIG] sale_order_restrict_copy_archived_product: Migration to 16.0#4150
fredericgrall wants to merge 6 commits intoOCA:16.0from
apikcloud:16.0-mig-sale_order_restrict_copy_archived_product

Conversation

@fredericgrall
Copy link

No description provided.

)
if archived_products:
raise exceptions.ValidationError(
_("You can't duplicate sale orders with archived products: {}").format(
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
_("You can't duplicate sale orders with archived products: {}").format(
_("You can't duplicate sale orders with archived products: %(product_name)s",
product_names=", ".join(archived_products.mapped("name"))

Copy link
Author

Choose a reason for hiding this comment

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

@rousseldenis, I have added the recommendation.

@fredericgrall fredericgrall force-pushed the 16.0-mig-sale_order_restrict_copy_archived_product branch from 2cca459 to 4c66eb3 Compare February 13, 2026 14:04
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.

4 participants