-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0] [MIG] delivery_carrier_warehouse #800
[16.0] [MIG] delivery_carrier_warehouse #800
Conversation
Currently translated at 100.0% (7 of 7 strings) Translation: wms-14.0/wms-14.0-delivery_carrier_warehouse Translate-URL: https://translation.odoo-community.org/projects/wms-14-0/wms-14-0-delivery_carrier_warehouse/es_AR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: wms-15.0/wms-15.0-delivery_carrier_warehouse Translate-URL: https://translation.odoo-community.org/projects/wms-15-0/wms-15-0-delivery_carrier_warehouse/
54ebed5
to
07bb4b8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xmlid has been renamed in delivery demo data
cls.partner = ref("base.res_partner_12") | ||
cls.product = ref("product.product_product_20") | ||
cls.free_delivery_carrier = ref("delivery.free_delivery_carrier") | ||
cls.normal_delivery_carrier = ref("delivery.normal_delivery_carrier") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cls.normal_delivery_carrier = ref("delivery.normal_delivery_carrier") | |
cls.local_delivery_carrier = ref("delivery.delivery_local_delivery") |
def test_warehouse_carrier(self): | ||
order = self._create_sale_order() | ||
self.assertEqual( | ||
self.partner.property_delivery_carrier_id, self.normal_delivery_carrier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.partner.property_delivery_carrier_id, self.normal_delivery_carrier | |
self.partner.property_delivery_carrier_id, self.local_delivery_carrier |
) | ||
action = order.action_open_delivery_wizard() | ||
default_carrier_id = action["context"]["default_carrier_id"] | ||
self.assertEqual(default_carrier_id, self.normal_delivery_carrier.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.assertEqual(default_carrier_id, self.normal_delivery_carrier.id) | |
self.assertEqual(default_carrier_id, self.local_delivery_carrier.id) |
3505e03
to
54fb820
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/ocabot migration delivery_carrier_warehouse |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 167015a. Thanks a lot for contributing to OCA. ❤️ |
delivery_carrier_warehouse Migration to 16.0