Added some doc string

This commit is contained in:
Oliver Walters 2020-04-14 22:33:03 +10:00
parent 94e400d0e1
commit f742f32804

View File

@ -1,3 +1,14 @@
"""
The InvenTreeBarcodePlugin validates barcodes generated by InvenTree itself.
It can be used as a template for developing third-party barcode plugins.
The data format is very simple, and maps directly to database objects,
via the "id" parameter.
Parsing an InvenTree barcode simply involves validating that the
references model objects actually exist in the database.
"""
# -*- coding: utf-8 -*-
from . import barcode
@ -68,4 +79,3 @@ class InvenTreeBarcodePlugin(barcode.BarcodePlugin):
response['error'] = _('No matching data')
return response