From 5b2ddb6a2da8ee6b85bc543acd152e1073b1abda Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Wed, 26 Jan 2011 13:38:28 +0000 Subject: [PATCH] amount_generator: some clean up in getAggregatedAmountList git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42685 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/mixin/amount_generator.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/product/ERP5/mixin/amount_generator.py b/product/ERP5/mixin/amount_generator.py index a42e5b4413..63bb60be58 100644 --- a/product/ERP5/mixin/amount_generator.py +++ b/product/ERP5/mixin/amount_generator.py @@ -344,9 +344,6 @@ class AmountGeneratorMixin: Implementation of a generic transformation algorith which is applicable to payroll, tax generation and BOMs. Return the list of amounts with aggregation. - - TODO: - - make working sample code """ generated_amount_list = self.getGeneratedAmountList( amount_list=amount_list, rounding=rounding, @@ -377,9 +374,3 @@ class AmountGeneratorMixin: % (x.getResourceTitle(), x.getQuantity(), x.getPrice()) for x in result_list)) return result_list - - raise NotImplementedError - # Example of return code - result = self.getGeneratedAmountList(amount_list=amount_list, - rounding=rounding) - return SomeMovementGroup(result) -- 2.30.9