修改机台二维码为机台编码

This commit is contained in:
胡尧
2025-04-25 13:37:12 +08:00
parent 8116e4f97d
commit 88026fea5d
3 changed files with 3 additions and 3 deletions

View File

@@ -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)}")