Files
gzth/yuthon_notice/models/inherit_project_task.py
T
2024-08-10 23:18:16 +08:00

12 lines
269 B
Python

# -*- coding: utf-8 -*-
from odoo import api, fields, models, tools
class ProjectTask(models.Model):
_inherit = "project.task"
_description = "待办通知公告来源"
notice_origin_id = fields.Many2one('yuthon.notice', string="来源(通知公告)")