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

Added a command to update the paid date. #417

Merged

Conversation

hemant10yadav
Copy link
Contributor

@hemant10yadav hemant10yadav commented Oct 24, 2024

The historical model does not support the use of model properties like @property, which is essential for the paid_date logic. The paid_date logic relies entirely on the payment_accrued property of the CompletedWork model.

To address this, the logic has been moved to a management command, ensuring it works independently of the historical model's limitations.

Reference-Stackoverflow

@hemant10yadav hemant10yadav merged commit 771a9ae into main Oct 28, 2024
5 checks passed
@hemant10yadav hemant10yadav deleted the hy/historical-model-does-not-support-model-property branch October 28, 2024 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants