Commit 019db530 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix typos only.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30771 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd9e1032
......@@ -24,10 +24,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
"""
Products.ERP5.interfaces.amount_generator
"""
from zope.interface import Interface
......@@ -38,20 +39,19 @@ class IAmountGenerator(Interface):
Documents which implement IAmountGenerator
can be used to generate an IAmountList from
an existing IMovementCollection, IAmountList or
IAmount. Typical IMovementGenerator are Transformations
IAmount. Typical IAmountGenerator are Transformations
and Trade Conditions.
"""
def getAggregatedAmountList(context, movement_list=None, rounding=False):
"""
Returns an IAmountList generated by a model a model applied to the
context.
Returns an IAmountList generated by a model applied to the context.
context - an IMovementCollection, an IAmountList or an IAmount
movement_list - optional IAmountList which can be passed explicitely
movement_list - optional IAmountList which can be passed explicitly
whenever context is an IMovementCollection and whenever
we want to filter context.geMovementList
we want to filter context.getMovementList
rounding - boolean argument, which controls if rounding shall be applied on
generated movements or not
......
......@@ -24,9 +24,12 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
"""
Products.ERP5.interfaces.movement_generator
"""
from zope.interface import Interface
......@@ -42,14 +45,13 @@ class IMovementGenerator(Interface):
def getAggregatedMovementList(context, movement_list=None, rounding=False):
"""
Returns an IMovementList generated by a model a model applied to the
context.
Returns an IMovementList generated by a model applied to the context.
context - an IMovementCollection, an IMovementList or an IMovement
movement_list - optional IMovementList which can be passed explicitely
whenever context is an IMovementCollection and whenever
we want to filter context.geMovementList
we want to filter context.getMovementList
rounding - boolean argument, which controls if rounding shall be applied on
generated movements or not
......
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