议题
This commit is contained in:
@@ -464,13 +464,13 @@ class IssueLibrary(models.Model):
|
||||
current_user = self.env.user
|
||||
user_company_name = current_user.company_id.name if current_user.company_id else ""
|
||||
for ras in issue_active_ids:
|
||||
if ras.is_push_boss:
|
||||
if ras.is_push_boss and not ras.class_boss:
|
||||
if ras.issue_state_boss != 'will':
|
||||
raise UserError('当前状态不允许上会')
|
||||
elif ras.is_push_class:
|
||||
elif ras.is_push_class and not ras.class_char:
|
||||
if ras.issue_state_class != 'will':
|
||||
raise UserError('当前状态不允许上会')
|
||||
elif ras.is_push_party:
|
||||
elif ras.is_push_party and not ras.class_party:
|
||||
if ras.issue_state_party != 'will':
|
||||
raise UserError('当前状态不允许上会')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user