Commit bd7e7497 authored by Julien Muchembled's avatar Julien Muchembled

Fix infinite packing calculation

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@39522 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bfae9015
......@@ -73,6 +73,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>temporary_document_disallowed</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
......
......@@ -687,7 +687,7 @@ class Resource(XMLObject, XMLMatrix, VariatedMixin):
# to nonexistant base_amount (e.g. "produced_quantity" for
# transformations), which would make domain tool return nothing.
# Following hack cleans up a category we don't want to test anyway.
tmp_context.setBaseApplication(None)
tmp_context._setBaseApplication(None)
mapped_value = portal.portal_domains.generateMultivaluedMappedValue(
tmp_context,
portal_type=portal_type_list,
......
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