From 3c3f5209860d496a4b74dae0d3912a1bc19a6a3b Mon Sep 17 00:00:00 2001 From: eeintech Date: Wed, 4 Nov 2020 15:48:23 -0500 Subject: [PATCH 1/3] Added What's New page --- docs/new.md | 37 +++++++++++++++++++++++++++++++++++++ mkdocs.yml | 1 + 2 files changed, 38 insertions(+) create mode 100644 docs/new.md diff --git a/docs/new.md b/docs/new.md new file mode 100644 index 0000000..bfde54b --- /dev/null +++ b/docs/new.md @@ -0,0 +1,37 @@ +--- +title: What's New +--- + +## What's New + +### Release 0.1.4 + +#### Build Management System + +Improved build management system: + +- Partial builds +- Batch tracking + +!!! TODO + More information to come soon + +#### InvenTree Settings +##### Dedicated sections + +Dedicated sections were added for: + +- Category +- Build +- Purchase Order +- Sales Order + +!!! TODO + More information to come soon + +##### Category Parameter Templates + +Added support for configuring parameter templates defined by categories. + +!!! TODO + More information to come soon diff --git a/mkdocs.yml b/mkdocs.yml index d08af7a..fb5f1e3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -31,6 +31,7 @@ extra_javascript: nav: - InvenTree: - About InvenTree: index.md + - What's New: new.md - Contribute: contribute.md - Getting Started: - Installation: start/install.md From 277e0bfac093bfa141436d770c1c436503d833b6 Mon Sep 17 00:00:00 2001 From: eeintech Date: Thu, 5 Nov 2020 10:56:43 -0500 Subject: [PATCH 2/3] Added Related Parts information to 0.1.4 new feature list Improved img template to take in direct URLs --- _includes/img.html | 16 +++++++++++----- docs/new.md | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/_includes/img.html b/_includes/img.html index f680758..8547740 100644 --- a/_includes/img.html +++ b/_includes/img.html @@ -4,27 +4,33 @@ {% set assets = '/assets' %} {% endif %} +{% if 'http' in url %} +{% set doc_url = url %} +{% else %} +{% set doc_url = '{{ assets }}/images/{{ url }}' %} +{% endif %} +
{% if id %} - {% elif url %} - + {% elif doc_url %} + {% endif %} - {{ description }} - {% if id or url %} + {% if id or doc_url %} {% endif %} {% if id %} - {{ description }} + {{ description }} {% endif %}
diff --git a/docs/new.md b/docs/new.md index bfde54b..3450322 100644 --- a/docs/new.md +++ b/docs/new.md @@ -16,6 +16,24 @@ Improved build management system: !!! TODO More information to come soon +#### Related Parts +##### Definition + +Related Part denotes a relationship between two parts, when users want to show their usage is "related" to another part or simply emphasize a link between two parts. + +##### Implementation + +- New PartRelated model/table to store relationships between parts (requires migration) +- New Related tab shown in Part detail page +- Ability to add relationships between parts through both main and admin interfaces +- Can only manage relationship if user has "change" permission on Part ruleset + +##### Example View + +{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/96306587-8f2d0b80-0fc5-11eb-8fdb-20cb2dabfcc6.png", description="Related Parts Example View" %} +{% include 'img.html' %} +{% endwith %} + #### InvenTree Settings ##### Dedicated sections From 9112b46bd4754c500b39eb9eeeed445113ea42f5 Mon Sep 17 00:00:00 2001 From: eeintech Date: Fri, 13 Nov 2020 15:19:38 -0500 Subject: [PATCH 3/3] Added details about category templates, added Currency section --- docs/new.md | 51 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/docs/new.md b/docs/new.md index 3450322..1a69f6e 100644 --- a/docs/new.md +++ b/docs/new.md @@ -34,22 +34,61 @@ Related Part denotes a relationship between two parts, when users want to show t {% include 'img.html' %} {% endwith %} -#### InvenTree Settings -##### Dedicated sections +#### InvenTree "Global" Settings -Dedicated sections were added for: +Global settings control the default value of fields across the entire web interface, for all-users. + +!!! TODO + More information to come soon + +Also, dedicated settings sections were added for: - Category - Build - Purchase Order - Sales Order -!!! TODO - More information to come soon +For Category section, read [Category Parameter Templates](#category-parameter-templates) -##### Category Parameter Templates +Other section allows to set the prefix of build, puchase and sales orders. + +#### Category Parameter Templates Added support for configuring parameter templates defined by categories. +##### Features + +* User can now setup a list of parameter templates for each (or all) part category(ies) in InvenTree settings +* During part creation, part parameters are automatically created using the list of parameter templates from the parent category it belongs to (if option is enabled) + +##### Screenshots + +* Select category + +{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98037571-c2ef9a00-1de9-11eb-96a1-542b18cdda7e.png", description="Select Category" %} +{% include 'img.html' %} +{% endwith %} + +* Add parameter template + +{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98145792-1cfb6880-1e99-11eb-82eb-c96d1ba9541a.png", description="Add Parameter Template" %} +{% include 'img.html' %} +{% endwith %} + +* Control global behavior within part settings + +{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98130420-39db7000-1e88-11eb-9ca0-78370e19ccdd.png", description="Global Settings For Category Templates" %} +{% include 'img.html' %} +{% endwith %} + +* Control instance behavior during part creation + +{% with id="related_parts_example", url="https://user-images.githubusercontent.com/4020546/98130496-4f509a00-1e88-11eb-9239-4dc215cbc620.png", description="Instance Settings For Category Templates" %} +{% include 'img.html' %} +{% endwith %} + + +#### Currency Support + !!! TODO More information to come soon