From 30e059e5c7641db1893f306a44a67c9e6ae72c56 Mon Sep 17 00:00:00 2001 From: Renaud Michotte Date: Wed, 6 Jan 2021 14:25:10 +0100 Subject: [PATCH] items: improve automatic barcode generation Set the barcode field as optional. If an item is created/updated without barcode, the backend will generated a fictive barcode itself. Closes rero/rero-ils#1287. Closes rero/rero-ils#1565. Co-Authored-by: Renaud Michotte --- rero_ils/modules/items/jsonschemas/items/item-v0.0.1.json | 1 - rero_ils/modules/loans/jsonschemas/loans/loan-ils-v0.0.1.json | 1 - 2 files changed, 2 deletions(-) diff --git a/rero_ils/modules/items/jsonschemas/items/item-v0.0.1.json b/rero_ils/modules/items/jsonschemas/items/item-v0.0.1.json index 100edb52db..41bec61e0b 100644 --- a/rero_ils/modules/items/jsonschemas/items/item-v0.0.1.json +++ b/rero_ils/modules/items/jsonschemas/items/item-v0.0.1.json @@ -8,7 +8,6 @@ "$schema", "pid", "location", - "barcode", "item_type", "type", "document", diff --git a/rero_ils/modules/loans/jsonschemas/loans/loan-ils-v0.0.1.json b/rero_ils/modules/loans/jsonschemas/loans/loan-ils-v0.0.1.json index 93a0b8b8e0..db0762c635 100644 --- a/rero_ils/modules/loans/jsonschemas/loans/loan-ils-v0.0.1.json +++ b/rero_ils/modules/loans/jsonschemas/loans/loan-ils-v0.0.1.json @@ -127,7 +127,6 @@ }, "to_anonymize": { "title": "Set loan to be anonymized", - "description": "If enabled, loan is set to be anonymized.", "type": "boolean", "default": false },