[18.0][MIG] sale_order_warehouse_from_delivery_carrier: Migration to 18.0#930
Conversation
6f1025c to
0a384ff
Compare
[UPD] Update sale_order_warehouse_from_delivery_carrier.pot [BOT] post-merge updates
Translated using Weblate (Italian) Currently translated at 100.0% (4 of 4 strings) Translation: delivery-carrier-16.0/delivery-carrier-16.0-sale_order_warehouse_from_delivery_carrier Translate-URL: https://translation.odoo-community.org/projects/delivery-carrier-16-0/delivery-carrier-16-0-sale_order_warehouse_from_delivery_carrier/it/
0a384ff to
1d326a7
Compare
|
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. |
|
/ocabot migration sale_order_warehouse_from_delivery_carrier |
|
@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( |
There was a problem hiding this comment.
Was this change necessary to add? If yes, can you please in brief why its needed
There was a problem hiding this comment.
@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.
1d326a7 to
4e4b732
Compare
4e4b732 to
95bfebf
Compare
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 48249b0. Thanks a lot for contributing to OCA. ❤️ |
No description provided.