增加传输文件列表返回
This commit is contained in:
@@ -22,7 +22,7 @@ class MaintenancePrinting(models.Model):
|
||||
# 切换成A4打印机
|
||||
|
||||
try:
|
||||
self.env['jikimo.printing'].print_qr_code(self.id)
|
||||
self.env['jikimo.printing'].print_qr_code(self.MTcode)
|
||||
except Exception as e:
|
||||
raise UserError(f"打印失败: {str(e)}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user