Files
gzth/tianhe_approvals/models/tianhe_engineering_approval.py
T

12 lines
350 B
Python

# -*- coding: utf-8 -*-
from odoo import api, fields, models, tools, _
from odoo.exceptions import ValidationError
class TianHeEngineeringApproval(models.Model):
_inherit = "approval.request"
_description = '工程立项'
engineering_type = fields.Char(string="工程类型")
engineering_place = fields.Char(string="项目地址")