Commit 1493f2e0 authored by Julien Muchembled's avatar Julien Muchembled

Fix NameError

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@39221 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b0350e9
...@@ -290,7 +290,7 @@ class AmountGeneratorMixin: ...@@ -290,7 +290,7 @@ class AmountGeneratorMixin:
if not quantity: if not quantity:
continue continue
# Backward compatibility # Backward compatibility
if getattr(aq_base(self), 'create_line', None) == 0: if getattr(self.aq_base, 'create_line', None) == 0:
property_dict['resource'] = None property_dict['resource'] = None
# Create an Amount object # Create an Amount object
amount = newTempAmount(portal, amount = newTempAmount(portal,
......
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