Claim module: default values {feedback | review | approval | rejection } status not set

Description

When entering a claim feedback/review/... are not known yet.
Current code (explicitly) write NULL values, while database do foresee default values.

>> default values should be defined in django model

GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_FeedbackStatus] DEFAULT ((1)) FOR [FeedbackStatus]
GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_ReviewStatus] DEFAULT ((1)) FOR [ReviewStatus]
GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_ApprovalStatus] DEFAULT ((1)) FOR [ApprovalStatus]
GO
ALTER TABLE [dbo].[tblClaim] ADD CONSTRAINT [DF_tblClaim_RejectionReason] DEFAULT ((0)) FOR [RejectionReason]

Done
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Xavier Gillmann

Reporter

Xavier Gillmann