Skip to content
Snippets Groups Projects
Commit af42db42 authored by Marco Folco's avatar Marco Folco
Browse files

[MOD] health attention point

Added 'oncascade' to delete all related attention points when removing a plan
parent 0e7c2a23
No related branches found
No related tags found
1 merge request!36[MOD] health attention point
......@@ -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')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment