예제 #1
0
파일: sector.py 프로젝트: CrashenX/akvo-rsr
 def iati_sector(self):
     if self.sector_code and (self.vocabulary == '1' or self.vocabulary == 'DAC'):
         return codelist_value(codelist_models.Sector, self, 'sector_code')
     elif self.sector_code and (self.vocabulary == '2' or self.vocabulary == 'DAC-3'):
         return codelist_value(codelist_models.SectorCategory, self, 'sector_code')
     else:
         return self.sector_code
예제 #2
0
 def iati_reach(self):
     return codelist_value(GeographicLocationReach, self, 'location_reach')
 def iati_category(self):
     return codelist_value(DocumentCategory, self, 'category')
예제 #4
0
 def iati_reach(self):
     return codelist_value(GeographicLocationReach, self, 'location_reach')
예제 #5
0
 def iati_code(self):
     return codelist_value(BudgetIdentifier, self, 'code')
예제 #6
0
 def iati_code(self):
     return codelist_value(CRSAddOtherFlags, self, 'code')
 def iati_relation(self):
     return codelist_value(RelatedActivityType, self, 'relation')
예제 #8
0
파일: crs_add.py 프로젝트: chitaha/akvo-rsr
 def iati_repayment_plan(self):
     return codelist_value(LoanRepaymentPeriod, self, 'repayment_plan')
예제 #9
0
 def iati_measure(self):
     return codelist_value(IndicatorMeasure, self, 'measure')
예제 #10
0
 def iati_vocabulary(self):
     return codelist_value(codelist_models.PolicyMarkerVocabulary, self,
                           'vocabulary')
예제 #11
0
 def iati_significance(self):
     return codelist_value(codelist_models.PolicySignificance, self,
                           'significance')
예제 #12
0
 def iati_policy_marker(self):
     return codelist_value(codelist_models.PolicyMarker, self,
                           'policy_marker')
예제 #13
0
 def iati_vocabulary(self):
     return codelist_value(GeographicVocabulary, self, 'vocabulary')
예제 #14
0
 def iati_designation(self):
     return codelist_value(LocationType, self, 'feature_designation')
예제 #15
0
 def iati_class(self):
     return codelist_value(GeographicLocationClass, self, 'location_class')
예제 #16
0
 def iati_repayment_type(self):
     return codelist_value(LoanRepaymentType, self, 'repayment_type')
예제 #17
0
 def iati_currency(self):
     return codelist_value(Currency, self, 'loan_status_currency')
예제 #18
0
 def iati_type(self):
     return codelist_value(ContactType, self, 'type')
예제 #19
0
파일: crs_add.py 프로젝트: chitaha/akvo-rsr
 def iati_channel_code(self):
     return codelist_value(CRSChannelCode, self, 'channel_code')
예제 #20
0
 def iati_aid_type(self):
     return codelist_value(AidType, self, 'aid_type')
예제 #21
0
 def iati_type(self):
     return codelist_value(ConditionType, self, 'type')
예제 #22
0
 def iati_finance_type(self):
     return codelist_value(FinanceType, self, 'finance_type')
예제 #23
0
 def iati_type(self):
     return codelist_value(BudgetType, self, 'type')
예제 #24
0
 def iati_flow_type(self):
     return codelist_value(FlowType, self, 'flow_type')
예제 #25
0
파일: sector.py 프로젝트: CrashenX/akvo-rsr
 def iati_vocabulary(self):
     return codelist_value(codelist_models.SectorVocabulary, self, 'vocabulary')
예제 #26
0
 def iati_tied_status(self):
     return codelist_value(TiedStatus, self, 'tied_status')
예제 #27
0
 def iati_designation(self):
     return codelist_value(LocationType, self, 'feature_designation')
예제 #28
0
 def iati_vocabulary(self):
     return codelist_value(IndicatorVocabulary, self, 'vocabulary')
 def iati_title_language(self):
     return codelist_value(Language, self, 'title_language')
예제 #30
0
 def iati_type(self):
     return codelist_value(HumanitarianScopeType, self, 'type')
예제 #31
0
 def iati_code(self):
     return codelist_value(BudgetIdentifier, self, 'code')
예제 #32
0
 def iati_vocabulary(self):
     return codelist_value(HumanitarianScopeVocabulary, self, 'vocabulary')
예제 #33
0
 def iati_repayment_plan(self):
     return codelist_value(LoanRepaymentPeriod, self, 'repayment_plan')
예제 #34
0
 def iati_region(self):
     return codelist_value(Region, self, 'region')
예제 #35
0
 def iati_code(self):
     return codelist_value(CRSAddOtherFlags, self, 'code')
예제 #36
0
 def iati_vocabulary(self):
     return codelist_value(RegionVocabulary, self, 'region_vocabulary')
예제 #37
0
파일: crs_add.py 프로젝트: chitaha/akvo-rsr
 def iati_currency(self):
     return codelist_value(Currency, self, 'loan_status_currency')
예제 #38
0
 def iati_vocabulary(self):
     return codelist_value(IndicatorVocabulary, self, 'vocabulary')
예제 #39
0
파일: fss.py 프로젝트: nagyist/akvo-rsr
 def iati_currency(self):
     return codelist_value(Currency, self, 'currency')
예제 #40
0
 def iati_transaction_type(self):
     return codelist_value(TransactionType, self, 'transaction_type')
예제 #41
0
 def iati_vocabulary(self):
     return codelist_value(codelist_models.SectorVocabulary, self, 'vocabulary')
예제 #42
0
 def iati_disbursement_channel(self):
     return codelist_value(DisbursementChannel, self, 'disbursement_channel')
예제 #43
0
 def iati_type(self):
     return codelist_value(ResultType, self, 'type')
예제 #44
0
 def iati_recipient_country(self):
     return codelist_value(Country, self, 'recipient_country')
예제 #45
0
 def iati_repayment_type(self):
     return codelist_value(LoanRepaymentType, self, 'repayment_type')
예제 #46
0
 def iati_recipient_region(self):
     return codelist_value(Region, self, 'recipient_region')
예제 #47
0
 def iati_currency(self):
     return codelist_value(Currency, self, 'currency')
예제 #48
0
 def iati_recipient_region_vocabulary(self):
     return codelist_value(RegionVocabulary, self, 'recipient_region_vocabulary')
예제 #49
0
 def iati_language(self):
     return codelist_value(Language, self, 'language')
예제 #50
0
 def iati_category(self):
     return codelist_value(DocumentCategory, self, 'category')
예제 #51
0
 def iati_exactness(self):
     return codelist_value(GeographicExactness, self, 'exactness')
예제 #52
0
 def iati_country(self):
     return codelist_value(Country, self, 'country')
예제 #53
0
 def iati_class(self):
     return codelist_value(GeographicLocationClass, self, 'location_class')
예제 #54
0
 def iati_type(self):
     return codelist_value(BudgetType, self, 'type')
예제 #55
0
 def iati_vocabulary(self):
     return codelist_value(GeographicVocabulary, self, 'vocabulary')
예제 #56
0
 def iati_currency(self):
     if self.currency:
         return codelist_value(Currency, self, 'currency')
     else:
         return codelist_value(Currency, self.project, 'currency')
 def iati_format(self):
     return codelist_value(FileFormat, self, 'format')
예제 #58
0
 def iati_status(self):
     return codelist_value(BudgetStatus, self, 'status')
예제 #59
0
 def iati_country(self):
     return codelist_value(codelist_models.Country, self, 'country')
예제 #60
0
 def iati_exactness(self):
     return codelist_value(GeographicExactness, self, 'exactness')