From 7b01a7ebe923337599a79ea67cbb39dd2507a43f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= Date: Wed, 11 Mar 2026 11:59:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=BC=80=E6=8B=9B=E7=A7=9F=E5=AE=A1?= =?UTF-8?q?=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_property_approval/models/property_open_rent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yuthon_property_approval/models/property_open_rent.py b/yuthon_property_approval/models/property_open_rent.py index beab96e83..1d4c74331 100644 --- a/yuthon_property_approval/models/property_open_rent.py +++ b/yuthon_property_approval/models/property_open_rent.py @@ -74,6 +74,7 @@ class PropertyOpenRent(models.Model): default='normal') active = fields.Boolean('Active', default=True, tracking=True) work_end = fields.Boolean(string="结束") + department_id = fields.Many2one('hr.department', string="部门") def _get_default_name_title(self): return self._description if self._description else self._name