Changeset 12798 for main


Ignore:
Timestamp:
19 Mar 2015, 16:58:47 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename state_of_origin.

Location:
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/interfaces.py

    r12797 r12798  
    9393    """
    9494
    95     state_of_origin = schema.Choice(
     95    nationality = schema.Choice(
    9696        vocabulary = nats_vocab,
    97         title = _(u'State of Origin'),
     97        title = _(u'Nationality'),
    9898        required = False,
    9999        )
     
    296296    """
    297297
    298     state_of_origin = schema.Choice(
     298    nationality = schema.Choice(
    299299        vocabulary = nats_vocab,
    300         title = _(u'State of Origin'),
     300        title = _(u'Nationality'),
    301301        required = False,
    302302        )
     
    10011001    """
    10021002
    1003     state_of_origin = schema.Choice(
     1003    nationality = schema.Choice(
    10041004        vocabulary = nats_vocab,
    1005         title = _(u'State of Origin'),
     1005        title = _(u'Nationality'),
    10061006        required = False,
    10071007        )
     
    11111111    """
    11121112
    1113     state_of_origin = schema.Choice(
     1113    nationality = schema.Choice(
    11141114        vocabulary = nats_vocab,
    1115         title = _(u'State of Origin'),
     1115        title = _(u'Nationality'),
    11161116        required = False,
    11171117        )
  • main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py

    r12797 r12798  
    225225        self.assertMatches(result,
    226226            'categories_practice,class_name,comment,contract_category,contract_id,'
    227             'fee_based,history,last_product_id,lga,product_object,'
    228             'product_options,state,state_of_origin,superintendent,'
     227            'fee_based,history,last_product_id,lga,nationality,product_object,'
     228            'product_options,state,superintendent,'
    229229            'tc_dict,title,user_id,valid_from,valid_to,work_address,work_email,work_phone,'
    230230            'year_qualification\r\n'
    231231            '[],RONContract,,ron,%s,0,'
    232             '[u\'2015-01-18 16:40:01 WAT - License created by system\'],,,,'
    233             '[],created,,,{\'en\': u\'Hello World\'},,K1000000,,,,,,\r\n'
     232            '[u\'2015-01-18 16:40:01 WAT - License created by system\'],,,,,'
     233            '[],created,,{\'en\': u\'Hello World\'},,K1000000,,,,,,\r\n'
    234234            % self.contract1.contract_id)
    235235        # We can reimport the file if we change the header
Note: See TracChangeset for help on using the changeset viewer.