From 34cd854862c727c83e11b27cec24870022fed5ed Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Thu, 12 Jun 2025 22:06:15 +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 deletions(-) diff --git a/yuthon_purchase/models/inherit_purchase_order.py b/yuthon_purchase/models/inherit_purchase_order.py index 8fe8f2e63..571aba687 100644 --- a/yuthon_purchase/models/inherit_purchase_order.py +++ b/yuthon_purchase/models/inherit_purchase_order.py @@ -12,8 +12,6 @@ class PurchaseOrder(models.Model): company_id = fields.Many2one('res.company', string="公司", default=lambda self: self.env.company) user_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user) department_id = fields.Many2one(related='user_id.employee_id.department_id', string="部门") - date_order = fields.Datetime(string="订单日期") - date_planned = fields.Datetime(string="预计到货日期") start_date = fields.Date(string="申请日期", default=fields.Date.today) reason_text = fields.Text(string='申请事由') document_ids = fields.Many2many('ir.attachment', string="附件")