添加功能
This commit is contained in:
@@ -130,8 +130,9 @@ class SoongWorkflowMixin(models.AbstractModel):
|
||||
else:
|
||||
self.is_active = False
|
||||
|
||||
if self.log_ids[-1].name == '归档' and self.log_ids[-1].is_active_operate == True:
|
||||
self.is_active = False
|
||||
if self.log_ids:
|
||||
if self.log_ids[-1].name == '归档' and self.log_ids[-1].is_active_operate == True:
|
||||
self.is_active = False
|
||||
|
||||
def _compute_is_confirm(self):
|
||||
for record in self:
|
||||
|
||||
Reference in New Issue
Block a user