You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change submission pending_status to work like grants
Fix#4460: Instead of trying to keep pending_status in sync with status,
now assume that if pending_status is None, there isn''t any pending change.
While if it is set, it means the submission new pending status is the
one set in the variable.
Changes:
- Update pending_status field to allow null=True
- Remove automatic sync logic from save method
- Add current_or_pending_status property
- Update admin queryset to filter by null pending_status
- Update reviews template to use current_or_pending_status
- Update tests to reflect new behavior
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Marco Acierno <marcoacierno@users.noreply.github.com>
0 commit comments