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

Diff of /papo/forms/stockMaintenance.neb

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

revision 1.5 by mhepp, Tue May 20 22:04:23 2003 UTC revision 1.6 by apronotti, Wed May 28 15:40:58 2003 UTC
# Line 172  Line 172 
172      from hack import a2f      from hack import a2f
173            
174      # preparing the new document      # preparing the new document
175      #ownDocumentBlock.newRecord ()      #ownDocumentBlock.idEntry.autofillBySequence('own_document_id_seq')
     ownDocumentBlock.idEntry.autofillBySequence('own_document_id_seq')  
176      ownDocumentBlock.ownPosEntityIdEntry =   str(ownPosBlock.ownPosEntityIdEntry)      ownDocumentBlock.ownPosEntityIdEntry =   str(ownPosBlock.ownPosEntityIdEntry)
177      # increase the doc number      # increase the doc number
178      ownDocumentBlock.numberEntry= str(ownPosDocumentBlock.documentNumberEntry)      ownDocumentBlock.numberEntry= str(ownPosDocumentBlock.documentNumberEntry)
# Line 197  Line 196 
196          storeProductLevelBlock.levelEntry.atomicModify (changeValueFunction (diff))          storeProductLevelBlock.levelEntry.atomicModify (changeValueFunction (diff))
197          # ... and record the change          # ... and record the change
198          ownItemBlock.newRecord ()          ownItemBlock.newRecord ()
199          ownItemBlock.docIdEntry= str(ownDocumentBlock.idEntry)          #ownItemBlock.docIdEntry= str(ownDocumentBlock.idEntry)
200          ownItemBlock.productIdEntry= str(storeProductLevelBlock.productIdEntry)          ownItemBlock.productIdEntry= str(storeProductLevelBlock.productIdEntry)
201          ownItemBlock.diffEntry= str(diff)          ownItemBlock.diffEntry= str(diff)
202          ownItemBlock.obsEntry= str(storeProductLevelBlock.obsEntry)          ownItemBlock.obsEntry= str(storeProductLevelBlock.obsEntry)
# Line 285  Line 284 
284        </block>        </block>
285    
286      <block name="ownItemBlock" datasource="ownItemDataSource">      <block name="ownItemBlock" datasource="ownItemDataSource">
287        <entry name="docIdEntry" field="own_item.own_document" hidden="y" x="1" y="1"/>  <!--       <entry name="docIdEntry" field="own_item.own_document" hidden="y" x="1" y="1"/> -->
288        <entry name="productIdEntry" field="own_product_stock_item.product" hidden="y" x="1" y="1"/>        <entry name="productIdEntry" field="own_product_stock_item.product" hidden="y" x="1" y="1"/>
289        <entry name="diffEntry" field="own_product_stock_item.difference" hidden="y" x="1" y="1"/>        <entry name="diffEntry" field="own_product_stock_item.difference" hidden="y" x="1" y="1"/>
290        <entry name="obsEntry" field="own_product_stock_item.observations" hidden="y" x="1" y="1"/>        <entry name="obsEntry" field="own_product_stock_item.observations" hidden="y" x="1" y="1"/>

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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