Skip to content

Commit

Permalink
[FIX] Remove UserWarning: Field res.partner.industry.display_name sho…
Browse files Browse the repository at this point in the history
…uld be declared with recursive=True
  • Loading branch information
pfranck committed Oct 31, 2024
1 parent f53d667 commit 803a9f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions partner_industry_secondary/models/res_partner_industry.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ResPartnerIndustry(models.Model):
_parent_store = True

name = fields.Char(required=True)
display_name = fields.Char(recursive=True)
parent_id = fields.Many2one(
comodel_name="res.partner.industry", ondelete="restrict"
)
Expand Down

0 comments on commit 803a9f2

Please sign in to comment.