Changeset 875

Show
Ignore:
Timestamp:
03/12/10 12:17:45 (5 months ago)
Author:
francesco
Message:

sistemiamo al volo anche pos e magazzino e utente

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/core/promogest/modules/scriptDatabase/SpostaVenditaDettaglio.py

    r873 r875  
    1717TABELLA = "testata_scontrino" 
    1818ORDERBY = "id" 
     19MAGAZZINO = 3 
     20POS = 2 
     21USER = 1 
    1922 
    2023 
     
    141144                    "totale_carta_credito": ts.totale_carta_credito, 
    142145                    "id_testata_movimento": ts.id_testata_movimento, 
    143                     "id_magazzino":ts.id_magazzino, 
     146                    "id_magazzino":ts.id_magazzino or MAGAZZINO, 
    144147                    "id_ccardtype":ts.id_ccardtype, 
    145                     "id_pos" : ts.id_pos, 
    146                     "id_user" : ts.id_user, 
     148                    "id_pos" : ts.id_pos or POS, 
     149                    "id_user" : ts.id_user or USER, 
    147150                    "righe_scontrino" : rr, 
    148151                    "sconto_testata_scontrino": stsdict