diff --git a/models/health_attention_point.py b/models/health_attention_point.py index 1fe8b419c4a497f9e5a6b47434b7d95b2893bcf9..f51d2a32c15681293e868455ed3142682f9abbdc 100644 --- a/models/health_attention_point.py +++ b/models/health_attention_point.py @@ -19,4 +19,4 @@ class HealthAttentionPoint(models.Model): insurance_alias = fields.Char('Insurance Alias') SOFSA_alias = fields.Char('SOFSA Alias') - insurance_plan_id = fields.Many2one('health.insurance.plan','Related insurance plan') + insurance_plan_id = fields.Many2one('health.insurance.plan','Related insurance plan',ondelete='cascade')