317 |
self.genericBox('Por favor, ingrese un precio para el producto.',['Aceptar']) |
self.genericBox('Por favor, ingrese un precio para el producto.',['Aceptar']) |
318 |
bad = bad+1 |
bad = bad+1 |
319 |
if not bad: |
if not bad: |
320 |
|
from gnue.common.GDataObjects import ConnectionError as DBError |
321 |
if productBlock.getCurrentRecord().isInserted(): |
if productBlock.getCurrentRecord().isInserted(): |
322 |
productBlock.priceTypeEntry = 1 |
productBlock.priceTypeEntry = 1 |
323 |
productBlock.productCodeTypeEntry = 1 |
productBlock.productCodeTypeEntry = 1 |
347 |
<trigger name="productRollbackTrigger" type="NAMED"><![CDATA[ |
<trigger name="productRollbackTrigger" type="NAMED"><![CDATA[ |
348 |
import hack |
import hack |
349 |
productBlock.reset() |
productBlock.reset() |
350 |
|
callTrigger ('account_planForId') |
351 |
callTrigger ('product_classificationForId') |
callTrigger ('product_classificationForId') |
352 |
callTrigger ('countryForId') |
callTrigger ('countryForId') |
353 |
]]></trigger> |
]]></trigger> |
461 |
<trigger type="Pre-Focusin"><![CDATA[ |
<trigger type="Pre-Focusin"><![CDATA[ |
462 |
if str(productResultBlock.productIdREntry)!='': |
if str(productResultBlock.productIdREntry)!='': |
463 |
callTrigger ('product_classificationForId') |
callTrigger ('product_classificationForId') |
464 |
|
callTrigger ('account_planForId') |
465 |
|
|
466 |
# if str(productBlock.physical_structureIdEntry)!='': |
# if str(productBlock.physical_structureIdEntry)!='': |
467 |
# searchingPhysicalStructureBlock.clear() |
# searchingPhysicalStructureBlock.clear() |
508 |
use_code="0" object_select_form="productClassificationSelect.gfd"/> |
use_code="0" object_select_form="productClassificationSelect.gfd"/> |
509 |
<lam:box width="1"/> |
<lam:box width="1"/> |
510 |
</lam:box> |
</lam:box> |
511 |
|
<lam:box lam:boxtype="h"> |
512 |
|
<neb:Sub neb:src="inlineSearch.nebc" label="Cuenta contable" |
513 |
|
table="account_plan" target_field="product.account_plan" target_block="productBlock" |
514 |
|
code_field="code" code_width="16" object_select_form="accountPlanSelect.gfd" object_form="accountPlan.gfd"/> |
515 |
|
<lam:box width="1"/> |
516 |
|
</lam:box> |
517 |
<!--lam:box lam:boxtype="h"/> |
<!--lam:box lam:boxtype="h"/> |
518 |
<lam:box width="1"/> |
<lam:box width="1"/> |
519 |
<label text="Ubicación:"/> |
<label text="Ubicación:"/> |