Created
March 12, 2011 11:11
-
-
Save mdornseif/867195 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iff --git a/husoftm2/lieferscheine.py b/husoftm2/lieferscheine.py | |
index 19739ce..e39cb20 100644 | |
--- a/husoftm2/lieferscheine.py | |
+++ b/husoftm2/lieferscheine.py | |
@@ -250,7 +250,7 @@ def get_new(limit=11): | |
# Dadurch dsa wir absteigend nach LKDTLF sortieren, senken wir das Risiko, noch nicht komplett | |
# von SoftM bearbeitete Datens<C3><A4>tze zu erhelten - bei denen ist das Datum und die Menge in der Rege | |
# noch nicht gesetzt. | |
- for kopf in query(['ALK00'], ordering=['LKDTLF DESC'], fields=['LKLFSN'], | |
+ for kopf in query(['ALK00'], ordering=['LKDTLF DESC, LKZTLF DESC'], fields=['LKLFSN'], | |
condition=' AND '.join(conditions), limit=limit, ua='husoftm2.lieferscheine', | |
cachingtime=0): | |
ret.append("SL%s" % kopf[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment