[Erp5-report] r12552 - /erp5/trunk/products/ERP5/Document/ImmobilisableItem.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 5 16:25:57 CET 2007
Author: nicolas
Date: Mon Feb 5 16:25:56 2007
New Revision: 12552
URL: http://svn.erp5.org?rev=12552&view=rev
Log:
Change type of tag for expandAmortisation
Modified:
erp5/trunk/products/ERP5/Document/ImmobilisableItem.py
Modified: erp5/trunk/products/ERP5/Document/ImmobilisableItem.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ImmobilisableItem.py?rev=12552&r1=12551&r2=12552&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ImmobilisableItem.py (original)
+++ erp5/trunk/products/ERP5/Document/ImmobilisableItem.py Mon Feb 5 16:25:56 2007
@@ -1007,12 +1007,12 @@
# 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,
['immediateReindexObject', 'recursiveImmediateReindexObject', 'updateImmobilisationState']),
- after_tag=related_packing_list_uid_list
+ after_tag=related_packing_list_uid_list
).immediateExpandAmortisation()
@@ -1026,10 +1026,10 @@
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()
-
+
security.declareProtected(Permissions.View, 'getSectionMovementValueList')
def getSectionMovementValueList(self,
include_to_date=0,
More information about the Erp5-report
mailing list