Skip to content

Commit

Permalink
[FIX] remove public profile when main was removed
Browse files Browse the repository at this point in the history
- Fixes #211
  • Loading branch information
Nicolas JEUDY authored and Stéphan Sainléger committed May 10, 2022
1 parent 4f937ce commit 3ede220
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lcc_members/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class res_partner(models.Model):
compute="_compute_public_profile_id",
string="Public profile",
store=True,
ondelete="cascade",
)
odoo_user_id = fields.Many2one(
"res.users",
Expand Down

0 comments on commit 3ede220

Please sign in to comment.