Skip to content

Commit 1adbb1a

Browse files
committed
Add string on fields
1 parent a62d03c commit 1adbb1a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

z_migration/models/agreement.py

+3
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,17 @@ class AgreementLine(models.Model):
7979
('inactive', 'Inactive'),
8080
],
8181
related='agreement_id.state',
82+
string='Agreement Status',
8283
store=True,
8384
)
8485
agreement_end_date = fields.Date(
8586
related='agreement_id.end_date',
87+
string='Agreement End Date',
8688
store=True,
8789
)
8890
agreement_template = fields.Many2one(
8991
comodel_name='agreement',
9092
related='agreement_id.template_id',
93+
string='Agreement Template',
9194
store=True,
9295
)

0 commit comments

Comments
 (0)