diff --git a/product/ERP5Type/Accessor/Acquired.py b/product/ERP5Type/Accessor/Acquired.py index 96dc3b5da5c51dc155ba23a5809cdb12cb47b836..19b87c77eb6e8f895eec1563d336791f8e5c5524 100644 --- a/product/ERP5Type/Accessor/Acquired.py +++ b/product/ERP5Type/Accessor/Acquired.py @@ -70,6 +70,8 @@ class DefaultGetter(BaseGetter): acquisition_object_id = tuple(acquisition_object_id) if isinstance(acquisition_portal_type, list): acquisition_portal_type = tuple(acquisition_portal_type) + if isinstance(alt_accessor_id, list): + alt_accessor_id = tuple(alt_accessor_id) self._acquisition_base_category = acquisition_base_category self._acquisition_portal_type = acquisition_portal_type @@ -158,6 +160,8 @@ class ListGetter(BaseGetter): acquisition_object_id = tuple(acquisition_object_id) if isinstance(acquisition_portal_type, list): acquisition_portal_type = tuple(acquisition_portal_type) + if isinstance(alt_accessor_id, list): + alt_accessor_id = tuple(alt_accessor_id) self._acquisition_base_category = acquisition_base_category self._acquisition_portal_type = acquisition_portal_type diff --git a/product/ERP5Type/Accessor/AcquiredProperty.py b/product/ERP5Type/Accessor/AcquiredProperty.py index 74b9cf4e2baddbd4fcc660d5c459ec43d980d5e9..bedc09416d1ed46067b5cd1b65c6011914a9d22e 100644 --- a/product/ERP5Type/Accessor/AcquiredProperty.py +++ b/product/ERP5Type/Accessor/AcquiredProperty.py @@ -74,6 +74,8 @@ class Getter(BaseGetter): acquisition_portal_type = tuple(acquisition_portal_type) if isinstance(acquisition_object_id, list): acquisition_object_id = tuple(acquisition_object_id) + if isinstance(alt_accessor_id, list): + alt_accessor_id = tuple(alt_accessor_id) self._acquisition_base_category = acquisition_base_category self._acquisition_portal_type = acquisition_portal_type @@ -161,6 +163,8 @@ class Setter(BaseSetter): acquisition_portal_type = tuple(acquisition_portal_type) if isinstance(acquisition_object_id, list): acquisition_object_id = tuple(acquisition_object_id) + if isinstance(alt_accessor_id, list): + alt_accessor_id = tuple(alt_accessor_id) self._acquisition_base_category = acquisition_base_category self._acquisition_portal_type = acquisition_portal_type