From c81f8e6d878acfc788b3faa3baad4a857a2fabaa Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 15 Aug 2019 13:17:33 +1000 Subject: [PATCH 1/2] Add 'new supplier part' button to stock item creation form --- InvenTree/stock/templates/stock/location.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/InvenTree/stock/templates/stock/location.html b/InvenTree/stock/templates/stock/location.html index 263115104e..8fbf26166d 100644 --- a/InvenTree/stock/templates/stock/location.html +++ b/InvenTree/stock/templates/stock/location.html @@ -131,6 +131,12 @@ title: 'Create New Part', url: "{% url 'part-create' %}", }, + { + field: 'supplier_part', + label: 'New Supplier Part', + title: 'Create new Supplier Part', + url: "{% url 'supplier-part-create' %}" + }, { field: 'location', label: 'New Location', From d0f29ab83bcc68ce3d1b98710bee3ecc30b966f8 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 15 Aug 2019 13:25:47 +1000 Subject: [PATCH 2/2] Add note on MySQL collation option --- docs/config.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/config.rst b/docs/config.rst index e737caa46c..cfb283af69 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -40,6 +40,9 @@ These requirements can be installed from the base directory with the command ``m It is up to the database adminstrator to create a new database to store inventree data, in addition to a username/password to access the data. +.. important:: MySQL Collation: + When creating the database, the adminstrator must ensure that the collation option is set to *utf8_unicode_520_ci* to ensure that InvenTree features function correctly. + The database options then need to be adjusted to communicate the MySQL backend. Refer to the `Django docs `_ for further information. **POSTGRESQL:** PostgreSQL database backend is supported with the native Django implementation. Note that to use this backend, the ``psycopg2`` Python library must first be installed.