/[papo]/papo/forms/organization.neb
ViewVC logotype

Diff of /papo/forms/organization.neb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by styxman, Tue Jun 10 18:42:00 2003 UTC revision 1.8 by apronotti, Fri Jun 27 19:00:16 2003 UTC
# Line 132  Line 132 
132      elif not str(entityUID_IB_Block.uidEntry).strip ():      elif not str(entityUID_IB_Block.uidEntry).strip ():
133        genericBox ("El número de Ingresos Brutos no debe estar vacío",['Aceptar'])        genericBox ("El número de Ingresos Brutos no debe estar vacío",['Aceptar'])
134      else:      else:
135        if not entityUID_CUIT_Block.getCurrentRecord().isInserted():        if organizationBlock.getCurrentRecord().isInserted():
136          entityUID_CUIT_Block.newRecord()          if not entityUID_CUIT_Block.getCurrentRecord().isInserted():
137        # 1 es CUIT            entityUID_CUIT_Block.newRecord()
138        entityUID_CUIT_Block.uid_CUIT_TypeEntry = 1          # 1 es CUIT
139        if not entityUID_IB_Block.getCurrentRecord().isInserted():          entityUID_CUIT_Block.uid_CUIT_TypeEntry = 1
140          entityUID_IB_Block.newRecord()          if not entityUID_IB_Block.getCurrentRecord().isInserted():
141        # 2 es Ingresos Brutos            entityUID_IB_Block.newRecord()
142        entityUID_IB_Block.uid_IB_TypeEntry = 2          # 2 es Ingresos Brutos
143            entityUID_IB_Block.uid_IB_TypeEntry = 2
144    
145        from gnue.common.GDataObjects import ConnectionError as DBError        from gnue.common.GDataObjects import ConnectionError as DBError
146    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26