diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-11-07 18:08:36 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:23:19 +0100 |
commit | dbfb9215264e3232f132e063184a24a7b8048592 (patch) | |
tree | edf596ae5e22eb901b17a4881d37a8958379d810 | |
parent | b8f767ae2524dd3595afadbcb323a974efdb453e (diff) | |
download | Ishtar-dbfb9215264e3232f132e063184a24a7b8048592.tar.bz2 Ishtar-dbfb9215264e3232f132e063184a24a7b8048592.zip |
Basket modification: fix wizard update
-rw-r--r-- | CHANGES.md | 7 | ||||
-rw-r--r-- | ishtar_common/version.py | 4 | ||||
-rw-r--r-- | ishtar_common/wizards.py | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/CHANGES.md b/CHANGES.md index 87d8e869b..dcfcb1fac 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,13 +1,18 @@ --- title: Ishtar changelog -date: 2022-10-17 +date: 2022-11-27 --- + +v4.0.25 - 2022-11-07 +-------------------- + ### Features ### - Geodata: display first item associated as a name when no name is provided ### Bug fix ### - Geodata import: fix total number evaluation on imports +- Basket modification: fix wizard update v4.0.24 - 2022-10-27 diff --git a/ishtar_common/version.py b/ishtar_common/version.py index ad8f491b9..f7f9d0b79 100644 --- a/ishtar_common/version.py +++ b/ishtar_common/version.py @@ -1,5 +1,5 @@ -# 4.0.24 -VERSION = (4, 0, 24) +# 4.0.25 +VERSION = (4, 0, 25) def get_version(): diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 6e4e8544f..8acf1a3ed 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -710,7 +710,9 @@ class Wizard(IshtarWizard): dct[k] = [] elif type(dct[k]) not in (list, tuple): dct[k] = [dct[k]] - setattr(obj, k, dct[k]) + getattr(obj, k).set(dct[k]) + else: + setattr(obj, k, dct[k]) if hasattr(obj, "data"): obj.data = data if hasattr(obj, "pre_save"): |