Skip to content

Commit 0de9a3b

Browse files
committed
Merge PR #1417 into 18.0
Signed-off-by pedrobaeza
2 parents dd13117 + c8ac1b6 commit 0de9a3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

account_financial_report/report/abstract_report.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,10 @@ def _get_accounts_data(self, accounts_ids):
143143
return accounts_data
144144

145145
def _get_journals_data(self, journals_ids):
146-
journals = self.env["account.journal"].search_fetch(
147-
[("id", "in", journals_ids)], ["code"]
146+
journals = (
147+
self.env["account.journal"]
148+
.with_context(active_test=False)
149+
.search_fetch([("id", "in", journals_ids)], ["code"])
148150
)
149151
journals_data = {}
150152
for journal in journals:

0 commit comments

Comments
 (0)