fix sql for multi-company case

This commit is contained in:
Raffael Meyer
2019-05-22 00:03:16 +02:00
parent ce9239af83
commit 31f5055287

View File

@@ -103,6 +103,7 @@ def get_gl_entries(filters, as_dict):
/* Statistisches Konto (Debitoren/Kreditoren) */
left join `tabParty Account` pa
on gl.against = pa.parent
and gl.company = pa.company
/* Kontonummer */
left join `tabAccount` acc