From 8a5a9ef4fcd89df9a8d4e7ac4f1ff3ed99068bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 19 Jan 2026 17:18:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_purchase/models/inherit_purchase_order.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yuthon_purchase/models/inherit_purchase_order.py b/yuthon_purchase/models/inherit_purchase_order.py index 9563da54c..047ec2444 100644 --- a/yuthon_purchase/models/inherit_purchase_order.py +++ b/yuthon_purchase/models/inherit_purchase_order.py @@ -22,6 +22,8 @@ class InheritPurchaseOrder(models.Model): ('复核', '复核'), ('分管领导', '分管领导'), ('总经理', '总经理'), ('归档', '归档')], default='申请人') + urgency_level = fields.Selection([('normal', '普件'), ('urgent', '急件'), ('emergency', '特急件')], string='紧急度', + default='normal') work_end = fields.Boolean(string="结束") user_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user) company_id = fields.Many2one(related='user_id.employee_ids.company_id', string="公司")