Fix duplicate field label warning on familylaw.issue

name (computed) and issue_type both used label "Issue", which Odoo warns about at
load. Renamed the computed field's label to "Issue Label".

Verified: clean module install AND clean upgrade from the prod-deployed version on a
clone of production db1 (prod image + prod addons set, throwaway DB, dropped after).
Full suite still 200 tests / 0 failures.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
tocmo0nlord
2026-06-02 11:04:49 +00:00
parent 96ee6792fd
commit 7839f04591

View File

@@ -28,7 +28,7 @@ class FamilyLawIssue(models.Model):
name = fields.Char(
compute="_compute_name",
store=True,
string="Issue",
string="Issue Label",
)
description = fields.Text()