From 70b8bee2642210cc7927de20281786ea57ea049b Mon Sep 17 00:00:00 2001 From: zhou <123@> Date: Mon, 14 Jul 2025 17:02:17 +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_property_approval/models/property_split_approval.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yuthon_property_approval/models/property_split_approval.py b/yuthon_property_approval/models/property_split_approval.py index 92a4d1b0b..f2897480e 100644 --- a/yuthon_property_approval/models/property_split_approval.py +++ b/yuthon_property_approval/models/property_split_approval.py @@ -58,9 +58,12 @@ class PropertySplitApproval(models.Model): 'rent_area': property_split.split_rent_area, 'asset_type_id': property_split.split_asset_type_id.id, 'property_merge_approval_id':self.property_id.id, + 'effective_date':self.effective_date, 'is_done_merge': True }) - property_list.append([0, 0, {'property_id':property_id.id}]) + property_list.append([0, 0, {'property_id':property_id.id, + 'start_time': self.effective_date, + }]) self.property_id.write({'is_done_split': True}) self.property_id.disassembly_information_ids = property_list