1、修改质检提示翻译;2、处理单据合并原单据数据不全问题;3、处理制造订单返工报错

This commit is contained in:
yuxianghui
2025-03-13 11:11:22 +08:00
parent 0d8445e444
commit 83699fcae6
3 changed files with 5 additions and 2 deletions

View File

@@ -62,7 +62,8 @@ class QualityCheckWizard(models.TransientModel):
def do_pass(self):
if self.test_type == 'picture' and not self.picture:
raise UserError('You must provide a picture before validating')
raise UserError('请先上传照片')
# raise UserError('You must provide a picture before validating')
self.current_check_id.do_pass()
return self.action_generate_next_window()