调整提示语句格式
This commit is contained in:
@@ -21,8 +21,7 @@ class jikimo_purchase_tier_validation(models.Model):
|
||||
def button_confirm(self):
|
||||
for record in self:
|
||||
if record.need_validation and record.validation_status != 'validated':
|
||||
raise ValidationError(_('此操作需要至少对一条记录进行审批。'
|
||||
'请发起审批申请。'))
|
||||
raise ValidationError(_('此操作需要至少对一条记录进行审批。\n请发起审批申请。'))
|
||||
return super().button_confirm()
|
||||
|
||||
# def button_confirm(self):
|
||||
|
||||
Reference in New Issue
Block a user