IMP benefit
This commit is contained in:
parent
e1a9de5dde
commit
5a0f672866
|
|
@ -619,7 +619,7 @@ class GrantBenefitProfile(models.Model):
|
|||
for rec in self:
|
||||
if not rec.owner_identity_attachment_ids and rec.is_family_member == False and rec.state == 'first_approve':
|
||||
raise ValidationError(_("Account Holder Identity Attachment is required."))
|
||||
if not rec.family_approval_attachment_ids and rec.is_family_member == False and rec.state != 'draft':
|
||||
if not rec.family_approval_attachment_ids and rec.is_family_member == False and rec.state == 'first_approve':
|
||||
raise ValidationError(_("Family approval of transfer Attachment is required."))
|
||||
|
||||
def _validate_required_attachments(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue