def org_customise_org_resource_fields(method):
 s3db = current.s3db
 table = s3db.org_resource
 table.location_id.represent = s3db.gis_LocationRepresent(sep=' | ')
 list_fields = ['organisation_id', 'location_id', 'parameter_id', 'value', 'comments']
 if (method in ('datalist', 'profile')):
  table.modified_by.represent = s3_auth_user_represent_name
  table.modified_on.represent = (lambda dt: S3DateTime.datetime_represent(dt, utc=True))
  list_fields += ['modified_by', 'modified_on', 'organisation_id$logo']
 s3db.configure('org_resource', list_fields=list_fields)

def org_customise_org_resource_fields ( method ) : s3db = current . s3db table = s3db . org_resource table . location_id . represent = s3db . gis_LocationRepresent ( sep = ' | ' ) list_fields = [ 'organisation_id' , 'location_id' , 'parameter_id' , 'value' , 'comments' ] if ( method in ( 'datalist' , 'profile' ) ) : table . modified_by . represent = s3_auth_user_represent_name table . modified_on . represent = ( lambda dt : S3DateTime . datetime_represent ( dt , utc = True ) ) list_fields += [ 'modified_by' , 'modified_on' , 'organisation_id$logo' ] s3db . configure ( 'org_resource' , list_fields = list_fields )
customize org_resource fields for profile widgets and more popups .