Skip to content

Commit

Permalink
fix: key error in filter access
Browse files Browse the repository at this point in the history
(cherry picked from commit 4765f93)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed Oct 29, 2022
1 parent a03ec0a commit 6114241
Showing 1 changed file with 16 additions and 12 deletions.
Expand Up @@ -77,12 +77,14 @@ def test_01_payment_terms_status(self):
sinv.insert()
sinv.submit()
columns, data, message, chart = execute(
{
"company": "_Test Company",
"period_start_date": "2021-06-01",
"period_end_date": "2021-06-30",
"item": item.item_code,
}
frappe._dict(
{
"company": "_Test Company",
"period_start_date": "2021-06-01",
"period_end_date": "2021-06-30",
"item": item.item_code,
}
)
)

expected_value = [
Expand Down Expand Up @@ -167,12 +169,14 @@ def test_02_alternate_currency(self):
sinv.insert()
sinv.submit()
columns, data, message, chart = execute(
{
"company": "_Test Company",
"period_start_date": "2021-06-01",
"period_end_date": "2021-06-30",
"item": item.item_code,
}
frappe._dict(
{
"company": "_Test Company",
"period_start_date": "2021-06-01",
"period_end_date": "2021-06-30",
"item": item.item_code,
}
)
)

# report defaults to company currency.
Expand Down

0 comments on commit 6114241

Please sign in to comment.