Conjunto de mudanças 962 no repositório publico


Ignorar:
Timestamp:
17/10/2005 12:22:00 (14 anos atrás)
Autor:
jeanferri
Mensagem:

Implementados workflows na ligação telefônica da intranet

Localização:
ILIntranet/trunk
Arquivos:
5 adicionados
7 editados
1 movido

Legenda:

Não Modificado
Adicionado
Removido
  • ILIntranet/trunk/Extensions/Install.py

    r486 r962  
    44#
    55# Generated:
    6 # Generator: ArchGenXML Version 1.4.0-beta1 devel
    7 #            http://sf.net/projects/archetypes/
     6# Generator: ArchGenXML Version 1.4.0-beta2 devel
     7#            http://plone.org/products/archgenxml
    88#
    99# GNU General Public Licence (GPL)
     
    8484        print >>out,'no workflow install'
    8585
    86     #bind classes to workflows
    87     wft = getToolByName(self,'portal_workflow')
    88     wft.setChainForPortalTypes( ['PastaLigacaoInterurbana'], "folder_workflow")
    8986
     87    # enable portal_factory for given types
     88    factory_tool = getToolByName(self,'portal_factory')
     89    factory_types=[
     90        "LigacaoInterurbana",
     91        ] + factory_tool.getFactoryTypes().keys()
     92    factory_tool.manage_setPortalFactoryTypes(listOfTypeIds=factory_types)
    9093
    9194    # try to call a custom install method
  • ILIntranet/trunk/LigacaoInterurbana.py

    r488 r962  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta1 devel http://sf.net/projects/archetypes/
     4# Generator: ArchGenXML Version 1.4.0-beta2 devel
     5#            http://plone.org/products/archgenxml
    56#
    67# GNU General Public Licence (GPL)
     
    2122__docformat__ = 'plaintext'
    2223
     24
    2325from AccessControl import ClassSecurityInfo
    2426from Products.Archetypes.atapi import *
    25 
    2627
    2728
     
    4243            label='Id',
    4344            label_msgid='ILIntranet_label_id',
    44             description='Enter a value for id.',
    4545            description_msgid='ILIntranet_help_id',
    4646            i18n_domain='ILIntranet',
    4747        )
    4848    ),
    49    
     49
    5050    StringField('title',
    5151        widget=StringWidget(
     
    5353            label='Title',
    5454            label_msgid='ILIntranet_label_title',
    55             description='Enter a value for title.',
    5655            description_msgid='ILIntranet_help_title',
    5756            i18n_domain='ILIntranet',
     
    5958        required=0
    6059    ),
    61    
     60
    6261    DateTimeField('data_ligacao',
    6362        index="FieldIndex:schema",
     
    7271        default_method=DateTime
    7372    ),
    74    
     73
    7574    IntegerField('ramal',
    7675        default='',
     
    8887        validators=('isInt',)
    8988    ),
    90    
     89
    9190    StringField('telefone',
    9291        index=":schema",
     
    102101        required=1
    103102    ),
    104    
     103
    105104    TextField('contato',
    106105        index=":schema",
     
    115114        required=1
    116115    ),
    117    
     116
    118117    TextField('assunto',
    119118        index="TextIndexNG|TextField:schema",
     
    128127        required=1
    129128    ),
    130    
     129
    131130    StringField('autorizacao',
    132131        index=":schema",
     
    141140        required=1
    142141    ),
    143    
     142
    144143    StringField('setor',
    145144        index=":schema",
     
    155154        vocabulary=['SINTER','GABINT','SEINPO','SSASTE','GBSAST','SEPLAP','SEACLE','SSADM','GBSSAD','SEADAD','SEFADM','SSFORM','GBFORM','SEATID','SSCAP','GBSCAP','SEPTED']
    156155    ),
    157    
     156
    158157),
    159158)
    160159
     160
     161##code-section after-local-schema #fill in your manual code here
     162##/code-section after-local-schema
     163
     164LigacaoInterurbana_schema = BaseSchema + \
     165    schema
    161166
    162167##code-section after-schema #fill in your manual code here
     
    171176    archetype_name             = 'Ligacao Interurbana'
    172177
    173     meta_type                  = 'LigacaoInterurbana' 
    174     portal_type                = 'LigacaoInterurbana' 
    175     allowed_content_types      = [] 
     178    meta_type                  = 'LigacaoInterurbana'
     179    portal_type                = 'LigacaoInterurbana'
     180    allowed_content_types      = []
    176181    filter_content_types       = 0
    177182    global_allow               = 0
     
    180185    immediate_view             = 'base_view'
    181186    default_view               = 'base_view'
     187    suppl_views                = ()
    182188    typeDescription            = "Ligacao Interurbana"
    183189    typeDescMsgId              = 'description_edit_ligacaointerurbana'
    184190
    185     schema = BaseSchema + \
    186              schema
     191    schema = LigacaoInterurbana_schema
    187192
    188193    ##code-section class-header #fill in your manual code here
  • ILIntranet/trunk/PastaLigacaoInterurbana.py

    r486 r962  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta1 devel http://sf.net/projects/archetypes/
     4# Generator: ArchGenXML Version 1.4.0-beta2 devel
     5#            http://plone.org/products/archgenxml
    56#
    67# GNU General Public Licence (GPL)
     
    2122__docformat__ = 'plaintext'
    2223
     24
    2325from AccessControl import ClassSecurityInfo
    2426from Products.Archetypes.atapi import *
    25 
    2627
    2728
     
    3738
    3839
     40##code-section after-local-schema #fill in your manual code here
     41##/code-section after-local-schema
     42
     43PastaLigacaoInterurbana_schema = BaseBTreeFolderSchema + \
     44    schema
     45
    3946##code-section after-schema #fill in your manual code here
    4047##/code-section after-schema
     
    4855    archetype_name             = 'Ligacoes Interurbanas'
    4956
    50     meta_type                  = 'PastaLigacaoInterurbana' 
    51     portal_type                = 'PastaLigacaoInterurbana' 
    52     allowed_content_types      = ['LigacaoInterurbana'] 
     57    meta_type                  = 'PastaLigacaoInterurbana'
     58    portal_type                = 'PastaLigacaoInterurbana'
     59    allowed_content_types      = ['LigacaoInterurbana']
    5360    filter_content_types       = 1
    5461    global_allow               = 1
     
    5764    immediate_view             = 'base_view'
    5865    default_view               = 'base_view'
     66    suppl_views                = ()
    5967    typeDescription            = "Ligacoes Interurbanas"
    6068    typeDescMsgId              = 'description_edit_pastaligacaointerurbana'
     
    7078        'condition'  : 'python:1'
    7179       },
    72        
     80
    7381
    7482    )
    7583
    76     schema = BaseBTreeFolderSchema + \
    77              schema
     84    schema = PastaLigacaoInterurbana_schema
    7885
    7986    ##code-section class-header #fill in your manual code here
  • ILIntranet/trunk/config.py

    r478 r962  
    1111PROJECTNAME = "ILIntranet"
    1212
     13# Permissions
    1314DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
    1415setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
     
    3031
    3132
     33# load custom configuration not managed by ArchGenXML
    3234try:
    3335    from Products.ILIntranet.AppConfig import *
  • ILIntranet/trunk/i18n/generated.pot

    r489 r962  
    1616"Preferred-Encodings: latin1 utf-8\n"
    1717"Domain: ILIntranet\n"
     18
     19msgid "Autorizacao"
     20msgstr "Autorização"
     21
    1822
    1923#: LigacaoInterurbana.py
     
    124128msgstr "Title"
    125129
     130
    126131msgid "Usuario/Telefone"
    127132msgstr "Usuário/Telefone"
    128133
    129 msgid "Autorizacao"
    130 msgstr "Autorização"
    131 
  • ILIntranet/trunk/model/generate_source.sh

    r478 r962  
    33ILIntranet/model/clean_trash.sh
    44
    5 ./python ArchGenXML/ArchGenXML.py -c ILIntranet/model/generate.conf ILIntranet/model/ILIntranet.zuml
     5./python ArchGenXML/ArchGenXML.py -c ILIntranet/model/generate.conf ILIntranet/model/Intranet.zuml
    66
  • ILIntranet/trunk/version.txt

    r478 r962  
    1 0.1
     10.2
Note: Veja TracChangeset para ajuda no uso do visualizador de conjunto de mudanças.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.