From a2641a995d710e9c63a7d013442ba9bc7d3b4437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 6 Dec 2012 14:13:17 +0100 Subject: [PATCH] Also generate _baseSet* accessors for acquired properties Prior to this change, such accessors were only generated if 'acquisition_base_category' was set on the accessor, but such accessor also makes sense without acquisition_base_category. --- product/ERP5Type/Core/AcquiredProperty.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5Type/Core/AcquiredProperty.py b/product/ERP5Type/Core/AcquiredProperty.py index f81ff3d5fc..057158a606 100644 --- a/product/ERP5Type/Core/AcquiredProperty.py +++ b/product/ERP5Type/Core/AcquiredProperty.py @@ -478,7 +478,8 @@ class AcquiredProperty(StandardProperty): } _content_type_acquired_property_id_setter_definition_dict = { - '_set%s': ContentProperty.Setter + '_set%s': ContentProperty.Setter, + '_baseSet%s': ContentProperty.Setter } _content_type_acquired_property_id_tester_definition_dict = { -- 2.30.9