From 6e06bf20bd6d58f705a8a57f6125495533087e34 Mon Sep 17 00:00:00 2001 From: EdgarRetes Date: Wed, 6 Nov 2024 12:13:15 -0600 Subject: [PATCH] [FIX] tests --- fieldservice_sale/tests/test_fsm_sale_autofill_location.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fieldservice_sale/tests/test_fsm_sale_autofill_location.py b/fieldservice_sale/tests/test_fsm_sale_autofill_location.py index 3bb5aa8d59..8bf0bf5ae0 100644 --- a/fieldservice_sale/tests/test_fsm_sale_autofill_location.py +++ b/fieldservice_sale/tests/test_fsm_sale_autofill_location.py @@ -48,6 +48,11 @@ def test_00_autofill_so_fsm_location(self): self.location1.partner_id = self.commercial_partner self.location2.partner_id = self.partner self.location3.partner_id = self.shipping_partner + + self.location1.flush_model() + self.location2.flush_model() + self.location3.flush_model() + with Form(self.env["sale.order"]) as so_form: so_form.partner_id = self.partner so = so_form.save()