partner ledger filter prob solved

bzr revid: patelamit2003@gmail.com-20081020120032-iq91mpqe282e548s
This commit is contained in:
apa-tiny 2008-10-20 17:30:32 +05:30
parent a7ebc82e61
commit 0a856c7f6d
2 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@ class third_party_ledger(rml_parse.rml_parse):
"FROM account_move_line AS line, account_account AS account " \
"WHERE line.partner_id IS NOT NULL " \
"AND line.account_id = account.id " \
"AND line.date < %s " \
"AND line.date <= %s " \
"AND line.reconcile_id IS NULL " \
# "AND line.account_id IN (" + self.account_ids + ") " \
" " + PARTNER_REQUEST + " " \

View File

@ -79,8 +79,8 @@ period_fields = {
'required':True
},
'soldeinit':{'string':"Inclure les soldes initiaux",'type':'boolean'},
'reconcil':{'string':" Inclure les ecritures reconsiliees",'type':'boolean'},
'page_split':{'string':"Un partenaire par page",'type':'boolean'},
'reconcil':{'string':" Include Reconciled Entries",'type':'boolean'},
'page_split':{'string':"One Partner Per Page",'type':'boolean'},
'date1': {'string':' Start date', 'type':'date', 'required':True, 'default': lambda *a: time.strftime('%Y-01-01')},
'date2': {'string':'End date', 'type':'date', 'required':True, 'default': lambda *a: time.strftime('%Y-%m-%d')},
}