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

Diff of /papo/forms/product.neb

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

revision 1.11 by jlenton, Tue Sep 16 19:01:03 2003 UTC revision 1.12 by apronotti, Wed Sep 17 22:41:46 2003 UTC
# Line 317  Line 317 
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
# Line 346  Line 347 
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>
# Line 459  Line 461 
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()
# Line 505  Line 508 
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:"/>

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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