Commit 4a38159e authored by Jérome Perrin's avatar Jérome Perrin

budget cell membership criterion base category list is not the same as budget...

budget cell membership criterion base category list is not the same as budget line variation base category list, some base categories are used for budget line, some are used for budget cells. As it's currently impossible to have the same base category for both line and cell level, we can say that the cell level membership base categories are the line variation base categories that are not alreay line membership base categories

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37245 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ebccc5bf
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>domain_base_category_list</string> </value> <value> <string>Membership Criterion Base Category List</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode</string> </key> <key> <string>unicode</string> </key>
...@@ -311,7 +311,7 @@ ...@@ -311,7 +311,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: context.getVariationBaseCategoryList() # XXX add resource ??</string> </value> <value> <string>python: [bc for bc in context.getVariationBaseCategoryList() if bc not in context.getMembershipCriterionBaseCategoryList()]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
298 299
\ No newline at end of file \ No newline at end of file
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