Skip to content

[18.0][MIG] sale_order_warehouse_from_delivery_carrier: Migration to 18.0#930

Merged
OCA-git-bot merged 7 commits intoOCA:18.0from
HeliconiaIO:18.0-mig-sale_order_warehouse_from_delivery_carrier
Oct 8, 2025
Merged

[18.0][MIG] sale_order_warehouse_from_delivery_carrier: Migration to 18.0#930
OCA-git-bot merged 7 commits intoOCA:18.0from
HeliconiaIO:18.0-mig-sale_order_warehouse_from_delivery_carrier

Conversation

@BhaveshHeliconia
Copy link
Contributor

No description provided.

@BhaveshHeliconia BhaveshHeliconia mentioned this pull request Jan 8, 2025
42 tasks
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-sale_order_warehouse_from_delivery_carrier branch from 6f1025c to 0a384ff Compare January 8, 2025 12:26
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-sale_order_warehouse_from_delivery_carrier branch from 0a384ff to 1d326a7 Compare March 31, 2025 12:05
@github-actions
Copy link

github-actions bot commented Aug 3, 2025

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 3, 2025
@hparfr
Copy link
Contributor

hparfr commented Aug 4, 2025

/ocabot migration sale_order_warehouse_from_delivery_carrier

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Aug 4, 2025
@hparfr
Copy link
Contributor

hparfr commented Aug 4, 2025

@geomer198 @sanderlienaerts @ByteMeAsap please review this migration

msg="Order Warehouse must be equal to 'Test Warehouse #1'",
)
self.sale_order.action_confirm()
self.sale_order.order_line.filtered(

Choose a reason for hiding this comment

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

Was this change necessary to add? If yes, can you please in brief why its needed

Copy link
Contributor Author

@BhaveshHeliconia BhaveshHeliconia Aug 26, 2025

Choose a reason for hiding this comment

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

@ByteMeAsap : Yes, this change is necessary because without it, the test case passes locally but fails in CI with the following error:

odoo.exceptions.UserError: You can not update the shipping costs on an order where it was already invoiced!

This occurs during test_sale_order_carrier_id_confirmation when confirming the shipping method. The change ensures the test runs consistently across environments.

Choose a reason for hiding this comment

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

Ok

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 10, 2025
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-sale_order_warehouse_from_delivery_carrier branch from 1d326a7 to 4e4b732 Compare August 26, 2025 09:06
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-sale_order_warehouse_from_delivery_carrier branch from 4e4b732 to 95bfebf Compare August 26, 2025 09:17
Copy link

@ByteMeAsap ByteMeAsap left a comment

Choose a reason for hiding this comment

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

LGTM!

@rousseldenis
Copy link
Contributor

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-930-by-rousseldenis-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit c0b06a4 into OCA:18.0 Oct 8, 2025
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 48249b0. Thanks a lot for contributing to OCA. ❤️

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.

8 participants