Study: Add current scenario into study info.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-08-26 11:20:26 +02:00
1 parent 71b631fbe4
commit 8b9bb68ac5
5 files changed
+123 -27

No files matched your search

+1 -1
View File
@@ -56,6 +56,6 @@ class Scenarios(PamhyrModelDict):
return None
def new(self, parent):
new = Scenario(parent=parent, status=self._status)
new = Scenario(parent=parent)
self.set(new._id, new)
return new