@@ -165,6 +165,7 @@ class SoongWorkflowMixin(models.AbstractModel):
|
||||
chairman_logs = record.log_ids.filtered(
|
||||
lambda log: '董事长' in (log.name or '')
|
||||
and log.approval_state in ['0', '1']
|
||||
and log.done_by.id == self.env.user.id
|
||||
)
|
||||
if chairman_logs:
|
||||
record.is_end = True
|
||||
|
||||
Reference in New Issue
Block a user