Commit 45280bd8 authored by Nicolas Delaby's avatar Nicolas Delaby

Change type of tag for expandAmortisation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12552 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bbc25e7c
......@@ -1007,7 +1007,7 @@ class ImmobilisableItem(XMLObject, Amount):
# are no more in 'calculating' immobilisation_state
related_packing_list_list = self.getAggregateRelatedValueList()
related_packing_list_path_list = [x.getPath() for x in related_packing_list_list]
related_packing_list_uid_list = ['%s' % x.getUid() for x in related_packing_list_list]
related_packing_list_uid_list = ['%i' % x.getUid() for x in related_packing_list_list]
self.activate(
after_path_and_method_id=(
related_packing_list_path_list,
......@@ -1026,7 +1026,7 @@ class ImmobilisableItem(XMLObject, Amount):
self._createAmortisationRule()
except ImmobilisationValidityError:
related_packing_list_list = self.getAggregateRelatedValueList()
related_packing_list_uid_list = ['%s' % x.getUid() for x in related_packing_list_list]
related_packing_list_uid_list = ['%i' % x.getUid() for x in related_packing_list_list]
self.activate(tag=related_packing_list_uid_list).expandAmortisation()
......
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