fix get_due_date
function to return date as string
This commit is contained in:
parent
c6d60e1de3
commit
4163c9529d
@ -270,7 +270,7 @@ def get_due_date(posting_date, party_type, party):
|
||||
due_date = posting_date
|
||||
template_name = get_pyt_term_template(party, party_type)
|
||||
if template_name:
|
||||
due_date = get_due_date_from_template(template_name, posting_date)
|
||||
due_date = get_due_date_from_template(template_name, posting_date).strftime("%Y-%m-%d")
|
||||
|
||||
return due_date
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user