(self, default=None, # pylint: disable=arguments-differ
      omit_optional_variation=0, omit_option_base_category=None)
return result
Returns possible variations base categories for this amount ie.
        the variation base category of the resource (not the
        variation range).

        Should be a range because we shall variate the amount
        into cells (ie. the line into cells) on part of the
        getVariationRangeBaseCategoryList -> notion of
        getVariationBaseCategoryList is different
Returns possible variations base categories for this amount ie.
        the variation base category of the resource (not the
        variation range).
Returns possible variations base categories for this amount ie . the variation base category of the resource ( not the variation range ) .
def getVariationRangeBaseCategoryList(self, default=None, # pylint: disable=arguments-differ
      omit_optional_variation=0, omit_option_base_category=None):
    """
        Returns possible variations base categories for this amount ie.
        the variation base category of the resource (not the
        variation range).

        Should be a range because we shall variate the amount
        into cells (ie. the line into cells) on part of the
        getVariationRangeBaseCategoryList -> notion of
        getVariationBaseCategoryList is different
    """
    #XXX backwards compatibility
    if omit_option_base_category is not None:
      warn("Please use omit_optional_variation instead of"\
          " omit_option_base_category.", DeprecationWarning)
      omit_optional_variation = omit_option_base_category

    resource = self.getDefaultResourceValue()
    if resource is not None:
      result = resource.getVariationBaseCategoryList(
          omit_optional_variation=omit_optional_variation)
    else:
      result = super(Amount, self).getVariationRangeBaseCategoryList()
    return result
def getVariationRangeBaseCategoryList ( self , default = None , # pylint: disable=arguments-differ omit_optional_variation = 0 , omit_option_base_category = None ) : #XXX backwards compatibility if omit_option_base_category is not None : warn ( "Please use omit_optional_variation instead of" " omit_option_base_category." , DeprecationWarning ) omit_optional_variation = omit_option_base_category resource = self . getDefaultResourceValue ( ) if resource is not None : result = resource . getVariationBaseCategoryList ( omit_optional_variation = omit_optional_variation ) else : result = super ( Amount , self ) . getVariationRangeBaseCategoryList ( ) return result