forked from erp-dev/erp
feat: log formatted
This commit is contained in:
@@ -389,6 +389,7 @@ class PrintingJobAdmin(admin.ModelAdmin):
|
||||
'unit': obj.unit,
|
||||
'size': obj.size,
|
||||
'pieces': obj.pieces,
|
||||
'sub_id': obj.sub_id,
|
||||
'description': obj.description,
|
||||
}
|
||||
created_obj = PrintingJobService.create_printing_job(data, request.user)
|
||||
@@ -404,6 +405,7 @@ class PrintingJobAdmin(admin.ModelAdmin):
|
||||
'unit': obj.unit,
|
||||
'size': obj.size,
|
||||
'pieces': obj.pieces,
|
||||
'sub_id': obj.sub_id,
|
||||
'description': obj.description,
|
||||
}
|
||||
success, message, updated_obj = PrintingJobService.update_printing_job(
|
||||
|
||||
Reference in New Issue
Block a user