Accounting Dimension Cant set By Transaction Doctype

Can’t Make Accounting Dimension by Transaction Doctype Like Sales Order

Traceback (most recent call last):
File “apps/frappe/frappe/utils/”, line 71, in getdate
return parser.parse(string_date, dayfirst=parse_day_first).date()
File “env/lib/python3.8/site-packages/dateutil/parser/”, line 1368, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File “env/lib/python3.8/site-packages/dateutil/parser/”, line 643, in parse
raise ParserError(“Unknown string format: %s”, timestr)
dateutil.parser._parser.ParserError: Unknown string format: %

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “apps/frappe/frappe/”, line 66, in application
response = frappe.api.handle()
File “apps/frappe/frappe/”, line 55, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/”, line 38, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 76, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1473, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/desk/”, line 41, in search_link
File “apps/frappe/frappe/desk/”, line 100, in search_widget
raise e
File “apps/frappe/frappe/desk/”, line 88, in search_widget
frappe.response[“values”] =
File “apps/frappe/frappe/”, line 1473, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/desk/”, line 275, in validate_and_sanitize_search_inputs
return fn(**kwargs)
File “apps/erpnext/erpnext/controllers/”, line 628, in get_filtered_dimensions
output = frappe.get_list(
File “apps/frappe/frappe/”, line 1729, in get_list
return frappe.model.db_query.DatabaseQuery(doctype).execute(*args, **kwargs)
File “apps/frappe/frappe/model/”, line 170, in execute
result = self.build_and_run()
File “apps/frappe/frappe/model/”, line 187, in build_and_run
args = self.prepare_args()
File “apps/frappe/frappe/model/”, line 223, in prepare_args
File “apps/frappe/frappe/model/”, line 475, in build_conditions
self.build_filter_conditions(self.or_filters, self.grouped_or_conditions)
File “apps/frappe/frappe/model/”, line 495, in build_filter_conditions
File “apps/frappe/frappe/model/”, line 624, in prepare_filter_condition
value = frappe.db.format_date(f.value)
File “apps/frappe/frappe/database/”, line 1043, in format_date
return getdate(date).strftime(“%Y-%m-%d”)
File “apps/frappe/frappe/utils/”, line 73, in getdate
File “apps/frappe/frappe/”, line 504, in throw
File “apps/frappe/frappe/”, line 479, in msgprint
File “apps/frappe/frappe/”, line 434, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: % is not a valid date string.