Skip to content

Commit

Permalink
[FIX] tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarRetes committed Nov 6, 2024
1 parent df9763b commit 6e06bf2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fieldservice_sale/tests/test_fsm_sale_autofill_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6e06bf2

Please sign in to comment.