Changeset 4242


Ignore:
Timestamp:
10 Jun 2009, 10:22:14 (16 years ago)
Author:
Henrik Bettermann
Message:

disable translations for applicants_catalog dumper

enable reimport of date fields

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTables.py

    r4036 r4242  
    103103                d[key] = v_dump
    104104            elif v:
    105                 if key == 'lga':
    106                     v_dump = self.portal_vocabularies.local_gov_areas.get(v)
    107                     if not v_dump:
    108                         v_dump = v
    109                 elif key == 'aos':
    110                     v_dump = self.portal_vocabularies.aos.get(v)
     105                #if key == 'lga':
     106                #    v_dump = self.portal_vocabularies.local_gov_areas.get(v)
     107                #    if not v_dump:
     108                #        v_dump = v
     109                #elif key == 'aos':
     110                #    v_dump = self.portal_vocabularies.aos.get(v)
    111111                d[key] = v_dump
    112112            else:
  • WAeUP_SRP/trunk/profiles/default/layouts/import_application.xml

    r3710 r4242  
    433433      <element value="application_date"/>
    434434    </property>
    435     <property name="label">Application Date</property>
    436     <property name="label_edit">Application Date</property>
    437     <property name="description"></property>
    438     <property name="help"></property>
    439     <property name="is_i18n">False</property>
    440     <property name="widget_mode_expr"></property>
    441     <property name="readonly_layout_modes">
    442     </property>
    443     <property name="hidden_layout_modes">
    444     </property>
    445     <property name="hidden_readonly_layout_modes"/>
    446     <property name="css_class_expr">string:row</property>
     435    <property name="view_format">import</property>
    447436  </widget>
    448437  <widget name="screening_date" meta_type="DateTime Widget">
     
    451440      <element value="screening_date"/>
    452441    </property>
    453     <property name="label">Screening Date</property>
    454     <property name="label_edit">Screening Date</property>
    455     <property name="description"></property>
    456     <property name="help"></property>
    457     <property name="is_i18n">False</property>
    458     <property name="widget_mode_expr"></property>
    459     <property name="readonly_layout_modes">
    460     </property>
    461     <property name="hidden_layout_modes">
    462     </property>
    463     <property name="hidden_readonly_layout_modes"/>
    464     <property name="view_format">%d/%m/%Y</property>
    465     <property name="time_setting">False</property>
    466     <property name="css_class_expr">string:row</property>
     442    <property name="view_format">import</property>
    467443  </widget>
    468444  <widget name="screening_type" meta_type="Select Widget">
     
    702678 </widget> 
    703679
     680
     681
     682
    704683</object>
Note: See TracChangeset for help on using the changeset viewer.