16 lines
690 B
Python
16 lines
690 B
Python
# -*- coding: utf-8 -*-
|
|
import logging
|
|
import datetime
|
|
from odoo import models, fields, api, _, modules
|
|
from odoo.exceptions import ValidationError, UserError
|
|
|
|
|
|
class SoongWorkflowInspector(models.Model):
|
|
_inherit = "soong.workflow.inspector"
|
|
_description = "督查督办"
|
|
|
|
relevancy_type = fields.Selection(selection_add=[('yuthon_official', '行政发文'),
|
|
('yuthon_official_incoming_normal', '行政收文')], string="关联流程类型")
|
|
yuthon_official_id = fields.Many2one('yuthon.official', string="行政发文")
|
|
incoming_normal_id = fields.Many2one('yuthon.official.incoming.normal', string="行政发文")
|