[FIX] analytic: read_group
Oversight of forward-port 9001a75f23
opw-1853068
This commit is contained in:
committed by
Nicolas Martinelli
parent
7f736f8db6
commit
21e233cba5
@@ -80,6 +80,7 @@ class AccountAnalyticAccount(models.Model):
|
||||
domain=domain + [('amount', '>=', 0.0)],
|
||||
fields=['account_id', 'currency_id', 'amount'],
|
||||
groupby=['account_id', 'currency_id'],
|
||||
lazy=False,
|
||||
)
|
||||
data_credit = defaultdict(float)
|
||||
for l in credit_groups:
|
||||
@@ -89,6 +90,7 @@ class AccountAnalyticAccount(models.Model):
|
||||
domain=domain + [('amount', '<', 0.0)],
|
||||
fields=['account_id', 'currency_id', 'amount'],
|
||||
groupby=['account_id', 'currency_id'],
|
||||
lazy=False,
|
||||
)
|
||||
data_debit = defaultdict(float)
|
||||
for l in debit_groups:
|
||||
|
||||
Reference in New Issue
Block a user