(self, field, value, as_string, ooo_builder, REQUEST,
                      render_prefix, attr_dict, local_name)
return Widget.render_odg_view(self, field, value_as_text, as_string,
                                      ooo_builder, REQUEST, render_prefix,
                                      attr_dict, local_name)
Transform DateTime into string then call default renderer
Transform DateTime into string then call default renderer
Transform DateTime into string then call default renderer
def render_odg_view(self, field, value, as_string, ooo_builder, REQUEST,
                      render_prefix, attr_dict, local_name):
    """Transform DateTime into string then call default renderer
    """
    if not value and field.get_value('default_now'):
      value = DateTime()
    value_as_text = self.format_value(field, value, mode='pdf').decode('utf-8')
    return Widget.render_odg_view(self, field, value_as_text, as_string,
                                      ooo_builder, REQUEST, render_prefix,
                                      attr_dict, local_name)
def render_odg_view ( self , field , value , as_string , ooo_builder , REQUEST , render_prefix , attr_dict , local_name ) : if not value and field . get_value ( 'default_now' ) : value = DateTime ( ) value_as_text = self . format_value ( field , value , mode = 'pdf' ) . decode ( 'utf-8' ) return Widget . render_odg_view ( self , field , value_as_text , as_string , ooo_builder , REQUEST , render_prefix , attr_dict , local_name )