/[papo]/papo/forms/components/alien_document.nebc
ViewVC logotype

Diff of /papo/forms/components/alien_document.nebc

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

revision 1.11 by apronotti, Thu Oct 16 20:55:37 2003 UTC revision 1.12 by apronotti, Tue Oct 21 20:30:15 2003 UTC
# Line 1554  order_by="_entity_data.name"> Line 1554  order_by="_entity_data.name">
1554      alienItemBlock.productNameEntry = ""      alienItemBlock.productNameEntry = ""
1555      alienItemBlock.qtyEntry = 0.00      alienItemBlock.qtyEntry = 0.00
1556      alienItemBlock.unitPriceEntry = 0.00      alienItemBlock.unitPriceEntry = 0.00
1557      alienItemBlock.productEntry = "0"      alienItemBlock.productEntry = ""
1558      alienItemBlock.taxAmountEntry = 0      alienItemBlock.taxAmountEntry = 0
1559      alienItemBlock.taxPercentEntry = 0      alienItemBlock.taxPercentEntry = 0
1560      alienItemBlock.discountEntry = 0.00      alienItemBlock.discountEntry = 0.00
# Line 1626  order_by="_entity_data.name"> Line 1626  order_by="_entity_data.name">
1626      tmpAmountBlock.ctaCteAmountEntry = hack.a2f(payBlock.ctaCteEntry,2)      tmpAmountBlock.ctaCteAmountEntry = hack.a2f(payBlock.ctaCteEntry,2)
1627      <neb:Block>}</neb:Block>      <neb:Block>}</neb:Block>
1628      currencyMovementBlock.clear()      currencyMovementBlock.clear()
1629          lRecords = alienItemDataSource.getRecords()
1630        for index in range(len(lRecords)):
1631          lRecord = lRecords[index]
1632          if not lRecord.getField('alien_product_item.product'):
1633            lRecord.delete()
1634    
1635      def callback (returnValue):      def callback (returnValue):
1636        if str(returnValue) == '1':        if str(returnValue) == '1':
1637          callTrigger('commitTrigger')          callTrigger('commitTrigger')

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