Commit edbce1e1 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Round a price value in getGroupCriterion.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@975 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 42d18813
...@@ -154,4 +154,4 @@ Une ligne tarifaire.""" ...@@ -154,4 +154,4 @@ Une ligne tarifaire."""
""" """
Return the criterion for grouping. This should be overriden by each class. Return the criterion for grouping. This should be overriden by each class.
""" """
return self.getPrice() return int(round(self.getPrice() * 100))
...@@ -164,4 +164,4 @@ Une ligne tarifaire.""" ...@@ -164,4 +164,4 @@ Une ligne tarifaire."""
""" """
Return the criterion for grouping. This should be overriden by each class. Return the criterion for grouping. This should be overriden by each class.
""" """
return self.getPrice() return int(round(self.getPrice() * 100))
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