Skip to content

Commit

Permalink
[FIX]crm_salesperson_planner: Fix wrong date in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger committed Jul 9, 2024
1 parent 80179e5 commit da4ad34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_05_repeat_weeks(self):
create_model = self.env["crm.salesperson.planner.visit.template.create"]
create_item = create_model.with_context(
active_id=self.visit_template_base.id
).create({"date_to": "2024-07-02"})
).create({"date_to": "2027-12-31"})
create_item.create_visits()
self.assertEqual(self.visit_template_base.state, "done")
visit_dates = self.visit_template_base.visit_ids.mapped("date")
Expand Down

0 comments on commit da4ad34

Please sign in to comment.