/[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.4 by mhepp, Mon May 19 18:19:33 2003 UTC revision 1.5 by mhepp, Tue May 20 22:04:23 2003 UTC
# Line 170  Line 170 
170      # ugly but works      # ugly but works
171      from __future__ import nested_scopes      from __future__ import nested_scopes
172      from hack import a2f      from hack import a2f
173        
174      # preparing the new document      # preparing the new document
175      ownDocumentBlock.newRecord ()      #ownDocumentBlock.newRecord ()
176      ownDocumentBlock.idEntry.autofillBySequence('own_document_id_seq')      ownDocumentBlock.idEntry.autofillBySequence('own_document_id_seq')
177        ownDocumentBlock.ownPosEntityIdEntry =   str(ownPosBlock.ownPosEntityIdEntry)
178      # increase the doc number      # increase the doc number
179      ownDocumentBlock.numberEntry= str(ownPosDocumentBlock.documentNumberEntry)      ownDocumentBlock.numberEntry= str(ownPosDocumentBlock.documentNumberEntry)
180      ownPosDocumentBlock.documentNumberEntry.atomicModify (lambda x: int(x)+1)      ownPosDocumentBlock.documentNumberEntry.atomicModify (lambda x: int(x)+1)
# Line 276  Line 277 
277      </block>      </block>
278    
279      <!-- hidden blocks for the document //-->      <!-- hidden blocks for the document //-->
280      <block name="ownDocumentBlock" datasource="ownDocumentDataSource">        <block name="ownDocumentBlock" datasource="ownDocumentDataSource">
281        <entry name="idEntry" field="id" hidden="y" x="1" y="1"/>          <entry name="idEntry" field="id" hidden="y" x="1" y="1"/>
282        <entry name="dateEntry" field="date" hidden="y" x="1" y="1"/>          <entry field="own_entity" hidden="" name="ownPosEntityIdEntry" x="1" y="1"/>
283        <entry name="typeEntry" field="own_document_type" hidden="y" x="1" y="1"/>          <entry name="dateEntry" field="date" hidden="y" x="1" y="1"/>
284      </block>          <entry name="typeEntry" field="own_document_type" hidden="y" x="1" y="1"/>
285          </block>
286    
287      <block name="ownItemBlock" datasource="ownItemDataSource">      <block name="ownItemBlock" datasource="ownItemDataSource">
288        <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"/>

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

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