diff --git a/account_financial_report/report/aged_partner_balance.py b/account_financial_report/report/aged_partner_balance.py index 7cb81b4e..2d330802 100644 --- a/account_financial_report/report/aged_partner_balance.py +++ b/account_financial_report/report/aged_partner_balance.py @@ -438,8 +438,9 @@ class AgedPartnerBalanceReport(models.AbstractModel): company_id = data["company_id"] account_ids = data["account_ids"] partner_ids = data["partner_ids"] - date_at = datetime.strptime(data["date_at"], "%Y-%m-%d").date() #data["date_at"] - date_at_object = date_at # datetime.strptime(date_at, "%Y-%m-%d").date() + date_at = data["date_at"] + date_at = datetime.strptime(date_at, "%Y-%m-%d").date() + date_at_object = date_at date_from = data["date_from"] only_posted_moves = data["only_posted_moves"] show_move_line_details = data["show_move_line_details"] diff --git a/account_financial_report/report/open_items.py b/account_financial_report/report/open_items.py index 9e0bffc2..fb930e0c 100644 --- a/account_financial_report/report/open_items.py +++ b/account_financial_report/report/open_items.py @@ -353,7 +353,9 @@ class OpenItemsReport(models.AbstractModel): company_id = data["company_id"] account_ids = data["account_ids"] partner_ids = data["partner_ids"] - date_at = datetime.strptime(data["date_at"] , "%Y-%m-%d").date() # data["date_at"] + date_at = datetime.strptime( + data["date_at"], "%Y-%m-%d" + ).date() # data["date_at"] date_at_object = date_at # datetime.strptime(date_at, "%Y-%m-%d").date() date_from = data["date_from"] target_move = data["target_move"] diff --git a/account_financial_report/report/templates/aged_partner_balance.xml b/account_financial_report/report/templates/aged_partner_balance.xml index 646af7b5..0bbc033c 100644 --- a/account_financial_report/report/templates/aged_partner_balance.xml +++ b/account_financial_report/report/templates/aged_partner_balance.xml @@ -94,7 +94,7 @@