Skip to content

Phase status  #977

@ihsaan-ullah

Description

@ihsaan-ullah

In phase model, we have a field status. It is only updated when a new phase is added from the editor.
Phase status is determined from start date and end date of a phase in Phase Serializers.

The following should be changed.

TODOs:

  • add status and is_final_phase a model property
  • remove status and is_final_phase (model filed)
  • remove adding status from adding new phase from editor
  • remove the logic of getting status from serializers
  • add the logic to model
  • remove from auto_migrate phase
  • test in detail

Metadata

Metadata

Assignees

No one assigned

    Labels

    Post-itInternal ideas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions