14 lines
561 B
Python
14 lines
561 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import api, fields, models, tools, _
|
|
from odoo.exceptions import ValidationError
|
|
|
|
|
|
class TianHeProcessChangeApproval(models.Model):
|
|
_inherit = "approval.request"
|
|
_description = '流程变更申请'
|
|
|
|
current_account = fields.Integer(string="流水号")
|
|
modification_reason = fields.Char(string="修改原因")
|
|
has_update_text = fields.Selection([('yes', '是'), ('no', '否')], string="是否更新标题")
|
|
has_update_body = fields.Selection([('yes', '是'), ('no', '否')], string="是否更新正文")
|