修改机台二维码为机台ID
This commit is contained in:
@@ -844,7 +844,7 @@ class SfMaintenanceEquipment(models.Model):
|
|||||||
box_size=10,
|
box_size=10,
|
||||||
border=4,
|
border=4,
|
||||||
)
|
)
|
||||||
qr.add_data(record.name)
|
qr.add_data(record.id)
|
||||||
qr.make(fit=True)
|
qr.make(fit=True)
|
||||||
qr_image = qr.make_image(fill_color="black", back_color="white")
|
qr_image = qr.make_image(fill_color="black", back_color="white")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user