Conjunto de mudanças 1200 no repositório publico


Ignorar:
Timestamp:
07/11/2005 11:31:28 (14 anos atrás)
Autor:
jonesmadruga
Mensagem:

gerado a partir do novo modelo

Localização:
ILSAALRecursosHumanos/trunk
Arquivos:
36 editados

Legenda:

Não Modificado
Adicionado
Removido
  • ILSAALRecursosHumanos/trunk/AdicionalTempoServico.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Afastamento.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Dependente.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Dependentes.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Empregado.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Empregados.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/EventoHistoricoFucional.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Extensions/Install.py

    r1159 r1200  
    44#
    55# Generated:
    6 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     6# Generator: ArchGenXML Version 1.4.0-RC1 devel
    77#            http://plone.org/products/archgenxml
    88#
     
    118118    factory_tool.manage_setPortalFactoryTypes(listOfTypeIds=factory_types)
    119119
     120    # For plone 2.1, allow the easy registering of stylesheets
     121    from Products.ILSAALRecursosHumanos.config import HAS_PLONE21
     122    if HAS_PLONE21:
     123        try:
     124            from Products.ILSAALRecursosHumanos.config import STYLESHEETS
     125        except:
     126            STYLESHEETS = []
     127        try:
     128            from Products.ILSAALRecursosHumanos.config import JAVASCRIPTS
     129        except:
     130            JAVASCRIPTS = []
     131        portal_css = getToolByName(portal, 'portal_css')
     132        portal_javascripts = getToolByName(portal, 'portal_javascripts')
     133        for stylesheet in STYLESHEETS:
     134            try:
     135                portal_css.unregisterResource(stylesheet['id'])
     136            except:
     137                pass
     138            defaulttitle = '%s %s' % (PROJECTNAME, stylesheet['id'])
     139            defaults = {'id': '',
     140            'expression': None,
     141            'media': 'all',
     142            'title': defaulttitle,
     143            'enabled': True}
     144            defaults.update(stylesheet)
     145            portal_css.manage_addStylesheet(**defaults)
     146        for javascript in JAVASCRIPTS:
     147            try:
     148                portal_javascripts.unregisterResource(stylesheet['id'])
     149            except:
     150                pass
     151            defaults = {'id': '',
     152            'expression': '',
     153            'inline': False,
     154            'enabled': True,
     155            'cookable': True}
     156            defaults.update(javascript)
     157            portal_javascripts.registerScript(**defaults)
     158
    120159    # try to call a custom install method
    121160    # in 'AppInstall.py' method 'install'
  • ILSAALRecursosHumanos/trunk/Ferias.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Fgts.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/LogRh.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Pensionista.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Pensionistas.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/PessoaFisica.py

    r1173 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Recisao.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/RepresentanteLegal.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Sefip.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Sefips.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Sindicato.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Sindicatos.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/Vencimentos.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/config.py

    r1159 r1200  
    1111PROJECTNAME = "ILSAALRecursosHumanos"
    1212
     13# Check for Plone 2.1
     14try:
     15    from Products.CMFPlone.migrations import v2_1
     16except ImportError:
     17    HAS_PLONE21 = False
     18else:
     19    HAS_PLONE21 = True
    1320# Permissions
    1421DEFAULT_ADD_CONTENT_PERMISSION = "Add portal content"
    15 setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner', 'Member'))
     22setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner'))
    1623ADD_CONTENT_PERMISSIONS = {
    1724    'Ferias': 'Add Ferias Content',
     
    3643}
    3744
    38 setDefaultRoles('Add Ferias Content', ('Manager', 'Owner', 'Member'))
    39 setDefaultRoles('Add Vencimentos Content', ('Manager', 'Owner', 'Member'))
    40 setDefaultRoles('Add Recisao Content', ('Manager', 'Owner', 'Member'))
    41 setDefaultRoles('Add Sefip Content', ('Manager', 'Owner', 'Member'))
    42 setDefaultRoles('Add EventoHistoricoFucional Content', ('Manager', 'Owner', 'Member'))
    43 setDefaultRoles('Add AdicionalTempoServico Content', ('Manager', 'Owner', 'Member'))
    44 setDefaultRoles('Add Dependente Content', ('Manager', 'Owner', 'Member'))
    45 setDefaultRoles('Add Empregados Content', ('Manager', 'Owner', 'Member'))
    46 setDefaultRoles('Add Sindicato Content', ('Manager', 'Owner', 'Member'))
    47 setDefaultRoles('Add Sindicatos Content', ('Manager', 'Owner', 'Member'))
    48 setDefaultRoles('Add Dependentes Content', ('Manager', 'Owner', 'Member'))
    49 setDefaultRoles('Add LogRh Content', ('Manager', 'Owner', 'Member'))
    50 setDefaultRoles('Add Sefips Content', ('Manager', 'Owner', 'Member'))
    51 setDefaultRoles('Add Pensionista Content', ('Manager', 'Owner', 'Member'))
    52 setDefaultRoles('Add RepresentanteLegal Content', ('Manager', 'Owner', 'Member'))
    53 setDefaultRoles('Add Empregado Content', ('Manager', 'Owner', 'Member'))
    54 setDefaultRoles('Add Fgts Content', ('Manager', 'Owner', 'Member'))
    55 setDefaultRoles('Add Afastamento Content', ('Manager', 'Owner', 'Member'))
    56 setDefaultRoles('Add Pensionistas Content', ('Manager', 'Owner', 'Member'))
     45setDefaultRoles('Add Ferias Content', ('Manager', 'Owner'))
     46setDefaultRoles('Add Vencimentos Content', ('Manager', 'Owner'))
     47setDefaultRoles('Add Recisao Content', ('Manager', 'Owner'))
     48setDefaultRoles('Add Sefip Content', ('Manager', 'Owner'))
     49setDefaultRoles('Add EventoHistoricoFucional Content', ('Manager', 'Owner'))
     50setDefaultRoles('Add AdicionalTempoServico Content', ('Manager', 'Owner'))
     51setDefaultRoles('Add Dependente Content', ('Manager', 'Owner'))
     52setDefaultRoles('Add Empregados Content', ('Manager', 'Owner'))
     53setDefaultRoles('Add Sindicato Content', ('Manager', 'Owner'))
     54setDefaultRoles('Add Sindicatos Content', ('Manager', 'Owner'))
     55setDefaultRoles('Add Dependentes Content', ('Manager', 'Owner'))
     56setDefaultRoles('Add LogRh Content', ('Manager', 'Owner'))
     57setDefaultRoles('Add Sefips Content', ('Manager', 'Owner'))
     58setDefaultRoles('Add Pensionista Content', ('Manager', 'Owner'))
     59setDefaultRoles('Add RepresentanteLegal Content', ('Manager', 'Owner'))
     60setDefaultRoles('Add Empregado Content', ('Manager', 'Owner'))
     61setDefaultRoles('Add Fgts Content', ('Manager', 'Owner'))
     62setDefaultRoles('Add Afastamento Content', ('Manager', 'Owner'))
     63setDefaultRoles('Add Pensionistas Content', ('Manager', 'Owner'))
    5764
    5865product_globals=globals()
     
    6976
    7077# End of config.py
     78# Things you can do in an AppConfig.py:
     79# STYLESHEETS = [{'id': 'my_global_stylesheet.css'},
     80#                {'id': 'my_contenttype.css',
     81#                 'expression': 'python:object.getTypeInfo().getId() == "MyType"}]
     82# You can do the same with JAVASCRIPTS.
  • ILSAALRecursosHumanos/trunk/interfaces/IAdicionalTempoServico.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IAfastamento.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IDependentes.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IEmpregado.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IEventoHistoricoFuncional.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IFerias.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IFgts.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/ILogRh.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IPensionista.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IRecisao.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IRepresentnteLegal.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/ISefip.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/ISindicato.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
  • ILSAALRecursosHumanos/trunk/interfaces/IVencimentos.py

    r1159 r1200  
    22#
    33# Copyright (c) 2005 by Interlegis
    4 # Generator: ArchGenXML Version 1.4.0-beta2 devel
     4# Generator: ArchGenXML Version 1.4.0-RC1 devel
    55#            http://plone.org/products/archgenxml
    66#
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.