添加功能
This commit is contained in:
@@ -41,12 +41,12 @@ class PropertySplitApproval(models.Model):
|
||||
|
||||
def put_split_message(self):
|
||||
property_list = []
|
||||
for i in self.property_split_approval_line_ids:
|
||||
for property_split in self.property_split_approval_line_ids:
|
||||
property_id = self.env['yuthon.property'].create({
|
||||
'name': i.split_property,
|
||||
'building_area': i.split_building_area,
|
||||
'rentable_area': i.split_rent_area,
|
||||
'asset_type_id': i.split_asset_type_id.id,
|
||||
'name': property_split.split_property,
|
||||
'building_area': property_split.split_building_area,
|
||||
'rentable_area': property_split.split_rent_area,
|
||||
'asset_type_id': property_split.split_asset_type_id.id,
|
||||
'property_merge_approval_id':self.property_id.id,
|
||||
'is_done_merge': True
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user