1、修改质检提示翻译;2、处理单据合并原单据数据不全问题;3、处理制造订单返工报错
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user