mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-18 15:42:07 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
339 B
Python
13 lines
339 B
Python
# Copyright 2023 Quartile Limited
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class Project(models.Model):
|
|
_inherit = "project.project"
|
|
|
|
label_tasks_custom = fields.Char(compute="_compute_label_tasks_custom")
|
|
|
|
def _compute_label_tasks_custom(self):
|
|
for record in self:
|
|
record.label_tasks_custom = record.label_tasks
|