consider category which are 0 for one premise but not for the other
This commit is contained in:
parent
18cd0eeebc
commit
b79ef11401
@ -48,7 +48,7 @@ def perform(dbh, params):
|
||||
where p.account = a.id and
|
||||
ae.account = a.id and
|
||||
aec.overhead_relevant = 't' and
|
||||
aec.id not in (select distinct account_entry_category from account_entry_t where fiscal_year = %(year)s) and
|
||||
aec.id not in (select distinct account_entry_category from account_entry_t where fiscal_year = %(year)s and account = p.account) and
|
||||
ae.fiscal_year = %(year)s and
|
||||
p.id = %(premise)s
|
||||
group by category, considerminusarea
|
||||
|
Loading…
x
Reference in New Issue
Block a user