Commit 1dcbd604 authored by Nicolas Dumazet's avatar Nicolas Dumazet

do not inherit from DecimalOption: add DecimalOption to RoundingModel Document


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50c888ae
......@@ -52,6 +52,7 @@ class RoundingModel(Predicate):
PropertySheet.Predicate,
PropertySheet.SortIndex,
PropertySheet.Reference,
PropertySheet.DecimalOption,
PropertySheet.RoundingModel,
)
......
......@@ -27,13 +27,10 @@
#
##############################################################################
from DecimalOption import DecimalOption
class RoundingModel(DecimalOption):
class RoundingModel:
"""Rounding Model properties and categories.
"""
_properties = DecimalOption._properties+(
_properties = (
{ 'id' : 'rounding_method_id',
'description' : 'The name of a python script which implements custom rounding routine.',
'type' : 'string',
......
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