fix sql for multi-company case
This commit is contained in:
@@ -103,6 +103,7 @@ def get_gl_entries(filters, as_dict):
|
|||||||
/* Statistisches Konto (Debitoren/Kreditoren) */
|
/* Statistisches Konto (Debitoren/Kreditoren) */
|
||||||
left join `tabParty Account` pa
|
left join `tabParty Account` pa
|
||||||
on gl.against = pa.parent
|
on gl.against = pa.parent
|
||||||
|
and gl.company = pa.company
|
||||||
|
|
||||||
/* Kontonummer */
|
/* Kontonummer */
|
||||||
left join `tabAccount` acc
|
left join `tabAccount` acc
|
||||||
|
|||||||
Reference in New Issue
Block a user