Commit e16da9d3 authored by Julien Muchembled's avatar Julien Muchembled

Fix syntax error in [33968]

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34025 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb337da4
...@@ -220,7 +220,8 @@ class AmountGeneratorMixin: ...@@ -220,7 +220,8 @@ class AmountGeneratorMixin:
category_list = amount_generator_cell.getCategoryMembershipList( category_list = amount_generator_cell.getCategoryMembershipList(
amount_generator_cell.getMappedValueBaseCategoryList(), base=1) amount_generator_cell.getMappedValueBaseCategoryList(), base=1)
if category_list: if category_list:
property_dict.setdefault('category_list', []) += category_list property_dict.setdefault('category_list',
[]).extend(category_list)
property_dict['resource'] = resource property_dict['resource'] = resource
# For final amounts, base_application and id MUST be defined # For final amounts, base_application and id MUST be defined
property_dict['base_application'] = getBaseApplication() # Required property_dict['base_application'] = getBaseApplication() # Required
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment