Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tenant_repair_default_date not working with ThreePartsDate #418

Open
miabonardi opened this issue Aug 1, 2023 · 2 comments
Open

tenant_repair_default_date not working with ThreePartsDate #418

miabonardi opened this issue Aug 1, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@miabonardi
Copy link
Contributor

tenant_repair_default_date is used several times as a default in customized_screens.yml and it does not set the default date

---
code: |
if len(bad_conditions[i].details.elements):
bad_conditions[i].min_date = min([c.start_date if not c.condition_existed_at_start else users[0].move_in_date for c in bad_conditions[i].details.elements.values()])
else:
bad_conditions[i].min_date = today()
---
code: |
tenant_repair_default_date = min([c.min_date for c in bad_conditions.elements.values()])
---

@miabonardi miabonardi added the bug Something isn't working label Aug 3, 2023
@miabonardi miabonardi added this to the August Sprint milestone Aug 3, 2023
@nonprofittechy
Copy link
Collaborator

We cannot use three parts date with defaults, unfortunately. This might get fixed upstream some day, but it's not possible for now.

@miabonardi miabonardi assigned miabonardi and unassigned stavros-0 Sep 15, 2023
@miabonardi
Copy link
Contributor Author

Quick fix for now:

You told us that the date was X, before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants