添加功能
This commit is contained in:
@@ -80,7 +80,7 @@ class YuthonOfficial(models.Model):
|
||||
|
||||
def end_approval(self):
|
||||
self.write({'work_end': True})
|
||||
if self.main_flats_id.name == '广州市天河投资集团有限公司':
|
||||
if any(flat.name == '广州市天河投资集团有限公司' for flat in self.main_flats_ids):
|
||||
process_id = self.env['yuthon.sub.enterprises'].search([('issuance_process_id', '=', self.id)])
|
||||
all_document_ids = list(self.official_documents_ids.ids)
|
||||
for log in self.log_ids:
|
||||
|
||||
Reference in New Issue
Block a user