Files
gzth/soong_workflow/models/soong_note.py
T
2024-11-16 21:06:45 +08:00

14 lines
479 B
Python

# -*- coding: utf-8 -*-
from odoo import api, fields, models, _
class SoongNote(models.Model):
_name = 'soong.note'
name = fields.Char(string="审批意见")
note_setting_id = fields.Many2one('soong.note.setting', string="意见类型")
# type = fields.Selection([('agree', '同意'), ('return', '退回'), ('refuse', '拒绝'), ('super', '督办')],
# string="意见类型")
# return_type = fields.Char(string="退回类型")