From a622f687b549cf5732f43db3f36112a82202bf50 Mon Sep 17 00:00:00 2001 From: matmair Date: Wed, 2 Aug 2023 22:07:31 +0000 Subject: [PATCH] deploy: f1cfdb960d92720b05a62ac67f14db05d832e60f --- SchrodingersGat/inventree-brother-plugin.html | 4 +- SchrodingersGat/inventree-wireviz.html | 4 +- SergeoLacruz.html | 4 +- SergeoLacruz/inventree-supplier-panel.html | 4 +- SergeoLacruz/inventree-zebra-plugin.html | 4 +- blog/feed.atom | 2 +- matmair.html | 4 +- matmair/inventree-apprise.html | 4 +- matmair/inventree-rapidoc.html | 4 +- matmair/inventree-zapier.html | 4 +- news/feed.atom | 2 +- plugins.html | 33 ++ plugins/categories/index.html | 106 ++++ plugins/tags/index.html | 365 ++++++++++++++ schrodingersgat.html | 4 +- sitemap.xml | 36 +- wolflu05.html | 10 +- wolflu05/inventree-bulk-plugin.html | 451 ++++++++++++++++++ wolflu05/inventree-cups-plugin.html | 4 +- 19 files changed, 1007 insertions(+), 42 deletions(-) create mode 100644 wolflu05/inventree-bulk-plugin.html diff --git a/SchrodingersGat/inventree-brother-plugin.html b/SchrodingersGat/inventree-brother-plugin.html index 52c8524c..325ef84d 100644 --- a/SchrodingersGat/inventree-brother-plugin.html +++ b/SchrodingersGat/inventree-brother-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SchrodingersGat"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Brother label printer plugin for InvenTree","headline":"Inventree Brother Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SchrodingersGat/inventree-brother-plugin"},"url":"/SchrodingersGat/inventree-brother-plugin"} diff --git a/SchrodingersGat/inventree-wireviz.html b/SchrodingersGat/inventree-wireviz.html index 9843d719..1b4f09bd 100644 --- a/SchrodingersGat/inventree-wireviz.html +++ b/SchrodingersGat/inventree-wireviz.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SchrodingersGat"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Wireviz Extension for InvenTree","headline":"Inventree Wireviz","mainEntityOfPage":{"@type":"WebPage","@id":"/SchrodingersGat/inventree-wireviz"},"url":"/SchrodingersGat/inventree-wireviz"} diff --git a/SergeoLacruz.html b/SergeoLacruz.html index aafcb064..cfbc47dc 100644 --- a/SergeoLacruz.html +++ b/SergeoLacruz.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Hardware engineer in Germany and vintage fan.","headline":"Sergeolacruz","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz"},"url":"/SergeoLacruz"} diff --git a/SergeoLacruz/inventree-supplier-panel.html b/SergeoLacruz/inventree-supplier-panel.html index 38b98a94..28baea62 100644 --- a/SergeoLacruz/inventree-supplier-panel.html +++ b/SergeoLacruz/inventree-supplier-panel.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Create Mouser shopping cart from purchase order","headline":"Inventree Supplier Panel","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-supplier-panel"},"url":"/SergeoLacruz/inventree-supplier-panel"} diff --git a/SergeoLacruz/inventree-zebra-plugin.html b/SergeoLacruz/inventree-zebra-plugin.html index 0953561e..7e15eabb 100644 --- a/SergeoLacruz/inventree-zebra-plugin.html +++ b/SergeoLacruz/inventree-zebra-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"SergeoLacruz"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Zebra Label Printer Plugin for Inventree","headline":"Inventree Zebra Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/SergeoLacruz/inventree-zebra-plugin"},"url":"/SergeoLacruz/inventree-zebra-plugin"} diff --git a/blog/feed.atom b/blog/feed.atom index 212477c5..9445f852 100644 --- a/blog/feed.atom +++ b/blog/feed.atom @@ -1 +1 @@ -Jekyll2023-08-02T00:57:41+00:00/blog/feed.atomInvenTreeInvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.0.12.0 Stable Release2023-06-26T00:00:00+00:002023-06-26T00:00:00+00:00/blog/2023/06/26/0.12.0SchrodingersGat0.11.0 Stable Release2023-04-17T00:00:00+00:002023-04-17T00:00:00+00:00/blog/2023/04/17/0.11.0SchrodingersGat0.10.1 Bugfix Release2023-02-25T00:00:00+00:002023-02-25T00:00:00+00:00/blog/2023/02/25/0.10.1SchrodingersGat0.10.0 Stable Release2023-02-06T00:00:00+00:002023-02-06T00:00:00+00:00/blog/2023/02/06/0.10.0SchrodingersGatStarting the Plugin List2023-01-30T00:00:00+00:002023-01-30T00:00:00+00:00/blog/2023/01/30/plugin-listmatmair2022 in Review2023-01-02T00:00:00+00:002023-01-02T00:00:00+00:00/blog/2023/01/02/upcomingSchrodingersGat0.9.0 Stable Release2022-12-12T00:00:00+00:002022-12-12T00:00:00+00:00/blog/2022/12/12/0.9.0SchrodingersGatTranslating InvenTree2021-11-22T00:00:00+00:002021-11-22T00:00:00+00:00/blog/2021/11/22/translationSchrodingersGatStarting with templates2021-10-25T00:00:00+00:002021-10-25T00:00:00+00:00/blog/2021/10/25/startingmatmair \ No newline at end of file +Jekyll2023-08-02T22:07:18+00:00/blog/feed.atomInvenTreeInvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.0.12.0 Stable Release2023-06-26T00:00:00+00:002023-06-26T00:00:00+00:00/blog/2023/06/26/0.12.0SchrodingersGat0.11.0 Stable Release2023-04-17T00:00:00+00:002023-04-17T00:00:00+00:00/blog/2023/04/17/0.11.0SchrodingersGat0.10.1 Bugfix Release2023-02-25T00:00:00+00:002023-02-25T00:00:00+00:00/blog/2023/02/25/0.10.1SchrodingersGat0.10.0 Stable Release2023-02-06T00:00:00+00:002023-02-06T00:00:00+00:00/blog/2023/02/06/0.10.0SchrodingersGatStarting the Plugin List2023-01-30T00:00:00+00:002023-01-30T00:00:00+00:00/blog/2023/01/30/plugin-listmatmair2022 in Review2023-01-02T00:00:00+00:002023-01-02T00:00:00+00:00/blog/2023/01/02/upcomingSchrodingersGat0.9.0 Stable Release2022-12-12T00:00:00+00:002022-12-12T00:00:00+00:00/blog/2022/12/12/0.9.0SchrodingersGatTranslating InvenTree2021-11-22T00:00:00+00:002021-11-22T00:00:00+00:00/blog/2021/11/22/translationSchrodingersGatStarting with templates2021-10-25T00:00:00+00:002021-10-25T00:00:00+00:00/blog/2021/10/25/startingmatmair \ No newline at end of file diff --git a/matmair.html b/matmair.html index c85577e7..64edca9c 100644 --- a/matmair.html +++ b/matmair.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"I try to build an ecosystem of reusable plugins and integrations for InvenTree. Code once and KISS!","headline":"Matmair","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair"},"url":"/matmair"} diff --git a/matmair/inventree-apprise.html b/matmair/inventree-apprise.html index 53424acc..e6cf3fd6 100644 --- a/matmair/inventree-apprise.html +++ b/matmair/inventree-apprise.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"matmair"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Send notifications from InvenTree via Apprise","headline":"Inventree Apprise","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair/inventree-apprise"},"url":"/matmair/inventree-apprise"} diff --git a/matmair/inventree-rapidoc.html b/matmair/inventree-rapidoc.html index 1b2972e8..2a2da622 100644 --- a/matmair/inventree-rapidoc.html +++ b/matmair/inventree-rapidoc.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"matmair"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Use RapiDoc for Inventree API docs.","headline":"Inventree Rapidoc","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair/inventree-rapidoc"},"url":"/matmair/inventree-rapidoc"} diff --git a/matmair/inventree-zapier.html b/matmair/inventree-zapier.html index f78c1a2f..3edda806 100644 --- a/matmair/inventree-zapier.html +++ b/matmair/inventree-zapier.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"matmair"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Integrate Zapier into InvenTree","headline":"Inventree Zapier","mainEntityOfPage":{"@type":"WebPage","@id":"/matmair/inventree-zapier"},"url":"/matmair/inventree-zapier"} diff --git a/news/feed.atom b/news/feed.atom index f3c1a3f0..43171ab7 100644 --- a/news/feed.atom +++ b/news/feed.atom @@ -1 +1 @@ -Jekyll2023-08-02T00:57:41+00:00/news/feed.atomInvenTree | NewsInvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.0.12.1 Release2023-07-13T00:00:00+00:002023-07-13T00:00:00+00:00/news/2023/07/13/0.12.1SchrodingersGat0.12.0 Release2023-06-26T00:00:00+00:002023-06-26T00:00:00+00:00/news/2023/06/26/0.12.0SchrodingersGatIntroducing the Plugin List2023-01-30T00:00:00+00:002023-01-30T00:00:00+00:00/news/2023/01/30/introducing-the-plugin-listmatmair0.9.0 Release2022-12-12T00:00:00+00:002022-12-12T00:00:00+00:00/news/2022/12/12/0.9.0SchrodingersGatNew Website2022-11-14T00:00:00+00:002022-11-14T00:00:00+00:00/news/2022/11/14/websiteSchrodingersGatWe have news now!2022-04-23T00:00:00+00:002022-04-23T00:00:00+00:00/news/2022/04/23/news-are-startingmatmair \ No newline at end of file +Jekyll2023-08-02T22:07:18+00:00/news/feed.atomInvenTree | NewsInvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.0.12.1 Release2023-07-13T00:00:00+00:002023-07-13T00:00:00+00:00/news/2023/07/13/0.12.1SchrodingersGat0.12.0 Release2023-06-26T00:00:00+00:002023-06-26T00:00:00+00:00/news/2023/06/26/0.12.0SchrodingersGatIntroducing the Plugin List2023-01-30T00:00:00+00:002023-01-30T00:00:00+00:00/news/2023/01/30/introducing-the-plugin-listmatmair0.9.0 Release2022-12-12T00:00:00+00:002022-12-12T00:00:00+00:00/news/2022/12/12/0.9.0SchrodingersGatNew Website2022-11-14T00:00:00+00:002022-11-14T00:00:00+00:00/news/2022/11/14/websiteSchrodingersGatWe have news now!2022-04-23T00:00:00+00:002022-04-23T00:00:00+00:00/news/2022/04/23/news-are-startingmatmair \ No newline at end of file diff --git a/plugins.html b/plugins.html index 8e7f2c60..0b030966 100644 --- a/plugins.html +++ b/plugins.html @@ -140,6 +140,39 @@ +
+ + + +
+
diff --git a/plugins/categories/index.html b/plugins/categories/index.html index 2decd4ba..9184daeb 100644 --- a/plugins/categories/index.html +++ b/plugins/categories/index.html @@ -78,6 +78,12 @@ + + AppMixin + + + + Event @@ -132,6 +138,10 @@ + + + +
@@ -168,6 +178,82 @@ + + + + + + +
+ + + +
+

AppMixin

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -205,6 +291,10 @@ + + + + @@ -267,6 +357,10 @@ + + + + @@ -385,6 +479,10 @@ + + + + @@ -439,6 +537,10 @@ + + + +
@@ -546,6 +648,10 @@ + + + + diff --git a/plugins/tags/index.html b/plugins/tags/index.html index cc6e3230..e59816f9 100644 --- a/plugins/tags/index.html +++ b/plugins/tags/index.html @@ -102,6 +102,12 @@ + + Bulk + + + + CUPS @@ -132,6 +138,12 @@ + + Locations + + + + Matrix @@ -168,6 +180,12 @@ + + Stock + + + + Twilio @@ -279,6 +297,10 @@ + + + + @@ -359,6 +381,10 @@ + + + + @@ -391,6 +417,10 @@ + + + + @@ -499,6 +529,10 @@ + + + + @@ -531,6 +565,10 @@ + + + + @@ -568,6 +606,82 @@ + + + + + + +
+ + + +
+

Bulk

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -594,6 +708,10 @@ + + + +
@@ -666,6 +784,10 @@ + + + +
+ + + +
+

Locations

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -1085,6 +1295,10 @@ + + + + @@ -1165,6 +1379,10 @@ + + + + @@ -1190,6 +1408,41 @@ + + + + + + @@ -1289,6 +1542,10 @@ + + + +
@@ -1396,6 +1653,10 @@ + + + +
@@ -1508,6 +1769,86 @@ + + + + + + + + + + + + + + +
+ + + +
+

Stock

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1593,6 +1934,10 @@ + + + + @@ -1633,6 +1978,10 @@ + + + + @@ -1701,6 +2050,10 @@ + + + + @@ -1771,6 +2124,10 @@ + + + + @@ -1832,6 +2189,10 @@ + + + + @@ -1900,6 +2261,10 @@ + + + + diff --git a/schrodingersgat.html b/schrodingersgat.html index c67ebd46..3f61d1cd 100644 --- a/schrodingersgat.html +++ b/schrodingersgat.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Maintainer of InvenTree.","headline":"Schrodingersgat","mainEntityOfPage":{"@type":"WebPage","@id":"/schrodingersgat"},"url":"/schrodingersgat"} diff --git a/sitemap.xml b/sitemap.xml index 012c6c88..14a5a1c7 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -62,51 +62,55 @@ /SergeoLacruz -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /matmair -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /schrodingersgat -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /wolflu05 -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /matmair/inventree-apprise -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /SchrodingersGat/inventree-brother-plugin -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 + + +/wolflu05/inventree-bulk-plugin +2023-08-02T22:07:18+00:00 /wolflu05/inventree-cups-plugin -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /matmair/inventree-rapidoc -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /SergeoLacruz/inventree-supplier-panel -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /SchrodingersGat/inventree-wireviz -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /matmair/inventree-zapier -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /SergeoLacruz/inventree-zebra-plugin -2023-08-02T00:57:41+00:00 +2023-08-02T22:07:18+00:00 /404 @@ -145,18 +149,18 @@ /functions -/alternatives/ - - /about/ -/extend/integrate/ +/alternatives/ /extend/plugin/ +/extend/integrate/ + + /extend/ diff --git a/wolflu05.html b/wolflu05.html index 02206e8f..4235c99f 100644 --- a/wolflu05.html +++ b/wolflu05.html @@ -30,11 +30,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"InvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.","headline":"Wolflu05","mainEntityOfPage":{"@type":"WebPage","@id":"/wolflu05"},"url":"/wolflu05"} @@ -98,6 +98,12 @@

Plugins

    +
  • + + Inventree Bulk Plugin + +
  • +
  • Inventree Cups Plugin diff --git a/wolflu05/inventree-bulk-plugin.html b/wolflu05/inventree-bulk-plugin.html new file mode 100644 index 00000000..6906da27 --- /dev/null +++ b/wolflu05/inventree-bulk-plugin.html @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + + + + +InvenTree - Inventree Bulk Plugin + + + +Inventree Bulk Plugin | InvenTree + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + logo + InvenTree + + +
    + + + + +
    +
    + +

    inventree-bulk-plugin + + +by mdo wolflu05 + +last modified: 02 Aug 2023 +

    + +
    +
    +

    Bulk creation plugin for InvenTree

    + +

    inventree-bulk-plugin

    + +

    License: MIT +CI

    + +

    This plugin helps you bulk create storage locations and part categories in InvenTree by using customized naming strategies. That means you not only have the option to generate multidimensional* names for stock locations or part categories, but also have the option to save the templates for later usage if your storage room uses e.g. drawer towers, saved templates help to ensure naming consistency for all later added towers.

    + +
    +

    multidimensional means that you are not limited to namings like D1,D2, .. but also something like D1.A, D1.B, D2.A, D2.B, …

    +
    + +

    🌟Screenshots

    + +
    +This will generate the previous mentioned example: + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/f0cd29fc-50c0-4880-afa2-f3bd1c2cdaf7) + +
    + +

    📄 Some more examples

    + +
    +But even nested generations don't stop you. + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/cd560237-94cb-485b-a1cc-cf9e7ab70335) + +
    + +
    +And with parent name match, you can even generate different sub-locations depending of the name of the parent. + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/ebe53203-1682-4aea-be39-6e79e2d542f2) +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/61ef2fa4-d765-4043-89e3-99840181768e) + +
    + +
    +Pad your numeric dimensions with zeros. + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/d90b42e5-eca8-433c-962f-05fbedc48f03) + +
    + +
    +Extend from a template. + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/b9622a93-b6b3-4dc7-91f8-d8c145fbdd3a) +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/7a7fbc78-e9e9-471a-8427-8b4b15389a57) + +
    + +
    +Use more generate keys. + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/81b4617a-24ef-49c3-8b5a-b4ef9bb3ebac) + +
    + +
    +Using input to reuse a saved template. + +![image](https://github.com/wolflu05/inventree-bulk-plugin/assets/76838159/8c56498b-c4a9-4a93-9a68-2ef87defe8da) + +
    + +

    ⚙️ Installation

    + +

    Install this plugin as follows:

    + +
      +
    1. +

      Make sure you allow the use of the url integration and app integration (see Why does this plugin needs the app mixin?)

      +
    2. +
    3. +

      Goto Settings > Plugins > Install Plugin, enter inventree-bulk-plugin as package name. Enable the confirm switch and click submit.

      +
    4. +
    5. +

      Restart your server and activate the plugin.

      +
    6. +
    7. +

      Stop your server and run invoke update (for docker installs it is docker-compose inventree-server invoke update). This ensures that all migrations run and the static files get collected. You can now start your server again and start using the plugin.

      +
    8. +
    + +

    🏃 Usage

    + +

    Bulk create

    + +

    You can bulk create sub-stocklocations and sub-partcategories. Goto one and use the panel “Bulk-creation”. Either load a saved template or set up the output quickly. Use “Preview” to see how the bulk creation will look like and create to bulk create the locations/categories. To see how this editor works see bulk creation editor.

    + +

    Saved templates

    + +

    You can save bulk creation templates to ensure consistency along your storage trees. Let’s say you have a bunch of drawer towers. With saved templates you can now easily store your templates to re-use it when you want to add a new tower to the system.

    + +
      +
    1. Goto the stock index and select the “Manage bulk creation” panel.
    2. +
    3. Click on “New Template”.
    4. +
    5. Adjust the schema to your needs and use “Preview” to see how the creation will look like
    6. +
    7. Create you template by using “Create”
    8. +
    9. Goto the specific sub-location where you want to apply that template, load it and Bulk generate your locations to your needs.
    10. +
    + +
    +

    You can use inputs to make your bulk creation schema dynamic in amount of drawers or their names.

    +
    + +

    Bulk creation editor

    + +

    The bulk creation editor helps you to define the generation schema.

    + +
    +

    You can use Jinja2 templating in every field (except in the input section). You can also use filters to manipulate the dimension output. +Global context:

    + +
    + +

    Input

    + +

    You can define key/value pairs of inputs which you can later reference in your schema via ``. This is useful for saved templates to dynamically generate the amount of locations as you want, but still keep the structure.

    + +

    Templates

    + +

    You can define templates from which you can later extend in your output. Template values can also be overwritten.

    + +
      +
    • +Template name - Template name, is later used to select for extending
    • +
    + +

    For the rest of the fields see output.

    + +

    Output

    + +
    Parent name match
    +

    First child that matches the parent name matcher will be chosen for generating the child’s for a specific parent. This must evaluate to something that can be casted to a boolean. You can use Jinja2 for dynamically decide based on the parent. E.g. ``. The global jinja2 and par context is available here.

    + +
    Extends
    +

    Select a template to extend from

    + +
    Dimensions/Count
    +

    Dimensions are a way to add various counting strategies to your naming. You can add a dimension by clicking on “Add dimension” and remove it via the red “X” on the right of the dimension field.

    + +

    A dimension can contain comma separated generators which generate the values for you. There are three types of generators. You can use the count field to limit a dimension to a specific amount of generating items. These generators can have arguments parsed via the following syntax: GENERATOR(key1=value,key2=value), where GENERATOR is the name/range.

    + +

    Generator types:
    +Word: any arbitrary word, not starting with *. E.g. hello world
    +Ranges: ranges are defined with a - in the middle E.g. a-bx
    +Infinity: infinity generators start with a * E.g. *NUMERIC

    + +

    Available Generators:
    +Numeric generator: *NUMERIC(start=0,end=10,step=2,count=5) or 0-10(step=2}
    +Alpha generator: *ALPHA(casing=upper|lower,start=A,end=F,step=2,count=3) or a-z(step=2)

    + +

    Example: 1-3,hello,*NUMERIC(start=1,step=2,end=10),*ALPHA(casing=upper,end=B),A-D(step=2), this will generate the following dimension: 12,3,hello,1,3,5,7,9,A,B,A,C.

    + +
    +

    Infinity generators need a count argument or a global count limitation, otherwise generation will fail.

    +
    + +
    Generate
    + +

    These fields my differ between stock location and part category. They correspond to the generated items property. For example “Name” will be the name of the created location/category. Fields like “Structural” must evaluate to something that ca be casted to a boolean (e.g. true or false).

    + +
    +

    Extended Jinja2 context:

    +
      +
    • +len - count of elements this child will generate
    • +
    • +dim.<x> - x-th dimension, one-based (e.g. `` to access the first dimension)
    • +
    • +dim.<x>.len - count of items the x-th dimension has
    • +
    • +par.<...> - parent’s context
    • +
    • +par.dim.<x> - parents’s dimensions
    • +
    • +par.gen.<name> - parent’s generated fields (e.g. to reuse the parents name ``)
    • +
    • +par.par.<...> - parent’s parent context, can be nested deeply
    • +
    +
    + +
    Child’s
    + +

    Child’s are a way to add some nesting to your bulk creation tree. You can use them for e.g. generating sections in every of your drawer. You can use the Parent name match option to add for your drawers named from Drawer 1 - Drawer 10 two sections while your other drawers have different sections.

    + +

    ❓ FAQ

    + +

    Why does this plugin needs the App Mixin?

    + +
    +

    This plugin uses the App Mixin to add a custom model to the database to manage stored templates which ensure consistency along your creation of storage trees. (See Saved templates). Additionally the App Mixin is used to provide the static files that are required for the reactive interface powered by preact.

    +
    + +

    Why does this plugin needs the Url Mixin?

    + +
    +

    This plugin uses the Url Mixin to expose custom API endpoints for previewing and bulk create locations.

    +
    + + +
    + +
    +

    Detail section

    +
    +

    License: + + MIT
    +

    +
    + Status: +
    +Stable
    +
    +Maintained
    +
    + Package on PyPI:
    inventree-bulk-plugin
    + + + + + + +
    + +
    +
    + + + + +
    + +

    wolflu05/inventree-bulk-plugin

    +
    +
    + + + + +
    + +
    + + AppMixin + +
    +
    + +
    + +
    + + Bulk + + Stock + + Part + + Locations + +
    +
    +
    +
    +
    + +
    + +
    + +
    +
    + +
    + + + \ No newline at end of file diff --git a/wolflu05/inventree-cups-plugin.html b/wolflu05/inventree-cups-plugin.html index 022106a9..46ce90a5 100644 --- a/wolflu05/inventree-cups-plugin.html +++ b/wolflu05/inventree-cups-plugin.html @@ -31,11 +31,11 @@ - + +{"@context":"https://schema.org","@type":"BlogPosting","author":{"@type":"Person","name":"wolflu05"},"dateModified":"2023-08-02T22:07:18+00:00","datePublished":"2023-08-02T22:07:18+00:00","description":"Label printing plugin for generic cups printers","headline":"Inventree Cups Plugin","mainEntityOfPage":{"@type":"WebPage","@id":"/wolflu05/inventree-cups-plugin"},"url":"/wolflu05/inventree-cups-plugin"}