420 |
<!-- </and> --> |
<!-- </and> --> |
421 |
<!-- </condition> --> |
<!-- </condition> --> |
422 |
<!-- </datasource> --> |
<!-- </datasource> --> |
423 |
|
|
424 |
<!-- <datasource database="papo" name="categoryAtributeResultDataSource" --> |
<!-- <datasource database="papo" name="categoryAtributeResultDataSource" --> |
425 |
<!-- table="category_attribute, _category_attribute_data" historytable="_category_attribute_data"> --> |
<!-- table="category_attribute, _category_attribute_data" historytable="_category_attribute_data"> --> |
426 |
<!-- <condition> --> |
<!-- <condition> --> |
457 |
if not str(clientTaxProfileBlock.taxProfileEntry): |
if not str(clientTaxProfileBlock.taxProfileEntry): |
458 |
message+= 'Debe ingresar un categoría de IVA\n' |
message+= 'Debe ingresar un categoría de IVA\n' |
459 |
isOk= 0 |
isOk= 0 |
460 |
|
# responsable inscripto=> need cuit |
461 |
|
if str(clientTaxProfileBlock.taxProfileEntry)=='1' and not str(clientUID_CUIT_Block.uidEntry): |
462 |
|
message+= 'El cliente es Responsable Inscripto. Debe ingresar su CUIT.\n' |
463 |
|
isOk= 0 |
464 |
|
|
465 |
if isOk: |
if isOk: |
466 |
if clientBlock.getCurrentRecord().isInserted(): |
if clientBlock.getCurrentRecord().isInserted(): |
1081 |
<entry name="movementTypeEntry" field="_credit_limit_data.movement_type" hidden="" |
<entry name="movementTypeEntry" field="_credit_limit_data.movement_type" hidden="" |
1082 |
x="1" y="1" width="14"/> |
x="1" y="1" width="14"/> |
1083 |
<label text="Límite de Crédito:" |
<label text="Límite de Crédito:" |
1084 |
x="1" y="8"/> |
x="1" y="7"/> |
1085 |
<entry name="creditLimitEntry" field="_credit_limit_data.credit_limit" |
<entry name="creditLimitEntry" field="_credit_limit_data.credit_limit" |
1086 |
x="20" y="8" width="14"/> |
x="1" y="8" width="14"/> |
1087 |
</block> |
</block> |
1088 |
|
|
1089 |
<block name="clientTaxProfileBlock" datasource="clientTaxProfileDataSource" |
<block name="clientTaxProfileBlock" datasource="clientTaxProfileDataSource" |
1106 |
x="33" y="12" width="24"> |
x="33" y="12" width="24"> |
1107 |
<trigger type="PRE-FOCUSOUT"><![CDATA[ |
<trigger type="PRE-FOCUSOUT"><![CDATA[ |
1108 |
from cuit import validate |
from cuit import validate |
1109 |
|
|
1110 |
if not validate (str(clientUID_CUIT_Block.uidEntry)): |
if not validate (str(clientUID_CUIT_Block.uidEntry)): |
1111 |
form.genericBox ('El CUIT es inválido', ['Aceptar']) |
form.genericBox ('El CUIT es inválido', ['Aceptar']) |
1112 |
]]></trigger> |
]]></trigger> |
1197 |
<!-- categorias --> |
<!-- categorias --> |
1198 |
<!-- <page name="Categorias"> --> |
<!-- <page name="Categorias"> --> |
1199 |
<!-- <trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/> --> |
<!-- <trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/> --> |
1200 |
|
|
1201 |
<!-- <box label="Direcciones" --> |
<!-- <box label="Direcciones" --> |
1202 |
<!-- x="0" y="0" height="5" width="84"> --> |
<!-- x="0" y="0" height="5" width="84"> --> |
1203 |
<!-- <block name="categoryClientBlock" datasource="clientDataSource"> --> |
<!-- <block name="categoryClientBlock" datasource="clientDataSource"> --> |
1248 |
<!-- <entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" --> |
<!-- <entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" --> |
1249 |
<!-- x="61" y="8" width="20" hidden=""/> --> |
<!-- x="61" y="8" width="20" hidden=""/> --> |
1250 |
<!-- </block> --> |
<!-- </block> --> |
1251 |
|
|
1252 |
<!-- </box> --> |
<!-- </box> --> |
1253 |
<!-- </page> --> |
<!-- </page> --> |
1254 |
<!-- /attribute --> |
<!-- /attribute --> |