Return list of instance as result of test recurrence rule wizard

Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.

Closes #12885
(grafted from 4c79c26ae0c62a81e97d354eda6eddf95d7463b9)

--HG--
branch : 7.0
This commit is contained in:
Cédric Krier committed 2024-01-11 22:02:48 +01:00
1 parent 1916df3021
commit 415a8d631c
1 file changed
+1 -2
+1 -2
View File
@@ -279,8 +279,7 @@ class TestRecurrenceRuleSetView(ModelView):
datetime = dt.datetime.combine(self.start_date, dt.time())
for date in rruleset.xafter(datetime, self.count, inc=True):
result.append(Result(date=date.date()))
self.result = result
return self._changed_values.get('result', [])
return result
class TestRecurrenceRuleSetViewResult(ModelView):